{"repo":"xt0rted/dotnet-format","free":true,"listed":false,"github":"https://github.com/xt0rted/dotnet-format","clone":"git clone https://github.com/xt0rted/dotnet-format.git","description":"A GitHub Action to run dotnet-format as part of your workflow","language":"TypeScript","stars":35,"topics":["github-actions","dotnet","dotnet-core","dotnet-format","dotnet-tool","linting"],"license":"MIT","category":"workflow-automation","readme_excerpt":"GitHub Action for dotnet-format Run dotnet-format v3 as part of your workflow to report formatting errors or auto fix violations as part of your pull request workflow. Usage Running on push . Running on pull request . Running on demand by pull request comment, triggered by the text /dotnet format . ℹ The provided GITHUB TOKEN will not trigger additional workflows. To push fixes back to the pull request branch you'll need to setup a secret with a Personal Access Token that has the repo scope. Token Permissions If your repository is using token permissions, and you want to check only changed files, you'll need to set pull-request: read on either the workflow or the job. Workflow Config Job Config Options Required Name Allowed values Description -- -- -- repo-token GITHUB TOKEN (default) or PAT GITHUB TOKEN token or a repo scoped PAT. version 3 (default) Version of dotnet-format to use. action check (default), fix Primary action dotnet-format should perform. Optional Name Allowed values Description -- -- -- only-changed-files true , false (default) Only changed files in the current pull request should be formatted. fail-fast true (default), false The job should fail if there's a formatting error. Only used with the check action. Outputs Name Description -- -- has-changes If any files were found to have violations or had fixes applied. Will be a string value of true or false . License The scripts and documentation in this project are released under the MIT License","default_branch":null,"files":null,"tree":[],"storefront":"/r/xt0rted","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/xt0rted/dotnet-format/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}