damuellen/GitHub Action swift-format
Formatting files in the repository using swift-format
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Jan 10, 2022
- License
- MIT
- Runtime
- Deprecated runtime
Pinned Snippet
uses: damuellen/gha-swift-format@dc69fd7dacffd57f4b26f74d5c2b35aeadc7fab5 # v1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| github_token | Token for the repository. Can be passed in using $\{{ secrets.GITHUB_TOKEN }} | yes | — |
| author_email | Email used to configure user.email in `git config`. | no | github-actions-swift-format[bot]@users.noreply.github.com |
| author_name | Name used to configure user.name in `git config`. | no | github-actions-swift-format[bot] |
| coauthor_email | Email used to make a co-authored commit. | no | — |
| coauthor_name | Name used to make a co-authored commit. | no | — |
| message | Commit message. | no | — |
| repository | Repository name to push. Default is current github repository (${GITHUB_REPOSITORY}) | no | "" |
| branch | Destination branch to push changes | no | main |
| empty | Allow empty commit | no | — |
| directory | Directory to change to before pushing. | no | . |
Outputs
no outputs