kassett/Autocommit Github Changes
This GitHub Action allows you to commit changes to git in a runner.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| branch | The branch to commit to or base branch for PR. | yes | — |
| github-token | The GitHub token used by gh CLI. | yes | — |
| use-pull-request | Create PR instead of direct commit. | no | false |
| files | Comma-separated list of files to commit. Mutually exclusive with commit-all. | no | "" |
| commit-all | Whether to commit all tracked changes. Mutually exclusive with files. | no | false |
| commit-message | Message to use for the commit. | no | Auto-committed changes |
| pull-request-title | Title of the PR, if applicable. | no | Auto-generated PR |
| pull-request-body | Body of the PR, if applicable. | no | PR created by GitHub Actions. |
| pull-request-labels | Labels to attach to the PR. | no | "" |
| pull-request-branch-name | Custom name for the PR branch. Otherwise will be randomly generated from target branch. | no | "" |
| commit-untracked-files | Whether to include untracked files. | no | false |
Outputs
| name | description |
|---|---|
| sha | The commit made by the action. |
| branch | The name of the branch created for the PR. |
| pr-number | The number of the PR created. |