| authToken | The GITHUB_TOKEN secret | yes | — |
| action | check|fix. The primary action `dotnet format` should perform. `check` for only checking, `fix` will also actually fix the formatting errors in the files. | no | fix |
| projectFileName | The solution or project file to operate on. | no | "" |
| onlyChangedFiles | Only changed files in the current pull request should be formatted. Only works when the trigger is a pull request. | no | false |
| failFast | The job should fail if there's a formatting error. | no | true |
| workspace | The solution or project file to operate on. | yes | — |
| nugetConfigPath | The path to the NuGet configuration file from workspace. e.g. `NuGet.config` | no | "" |
| severityLevel | <error|info|warn> Fixes styles according to formatting rules. | no | warn |
| logLevel | Sets the logging verbosity of the dotnet format process. Allowed values are q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic] | no | detailed |
| problemMatcherEnabled | Enable the problem matcher for dotnet format. | no | true |
| skipCommit | Skip commiting the changes to the repository. | no | false |
| commitUserName | Name used for the commit user | no | github-actions |
| commitUserEmail | Email address used for the commit user | no | bot@users.noreply.github.com |
| commitMessage | Message used for the commit | no | 🤖 refactor: Apply dotnet-format changes |
| dotnetFormatConfigPath | Path to dotnet format config file | no | .dotnet-format.json |
| jscpdCheck | Run jscpd to check for code duplication | no | false |
| jscpdConfigPath | Path to jscpd config file | no | .jscpd.json |
| jscpdCheckAsError | Fail the build if jscpd finds any code duplication | no | false |
| postNewComment | Post a new comment on the pull request or update an existing one with the results | no | false |
| jscpdReportArtifactName | Name of the artifact containing the JSCPD report | no | jscpd-report |
| dotnetFormatReportArtifactName | Name of the artifact containing the dotnet format report | no | dotnet-format-report |