actions-marketplace-validations/auto-gofmt
Auto format Go pull requests
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| commit_message | Commit message, will be ignored if used with same_commit | no | Formatting go code |
| same_commit | Update the current commit instead of creating a new one | no | false |
| commit_options | Commit options | no | — |
| push_options | Git push options | no | — |
| formatter_options | Options for the `gofumpt` command | no | -l -w . |
| file_pattern | File pattern used for `git add`, can't be used with only_changed! | no | * |
| dry | Running the script in dry mode just shows whether there are files that should be formatted or not | no | false |
| only_changed | Only format files changed in the last commit, can't be used with file_pattern! | no | false |
| github_token | GitHub Token or PAT token used to authenticate against a repository | no | ${{ github.token }} |
Outputs
no outputs