actions-x/Git Commit/Push Changes
Commit changed files back to the upstream repository
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Apr 28, 2022
- License
- MIT
Pinned Snippet
uses: actions-x/commit@803b20e5b72c0425eb7919c42c321e67c5bc5d2d # v6tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| The committer's email address | yes | ${{ github.actor }}@localhost | |
| name | The committer's name | yes | ${{ github.actor }} |
| message | The commit message | yes | Automatically updated using GitHub Actions |
| branch | The branch to push the changes back to, defaults to the current branch | yes | ${{ github.ref }} |
| files | The files to add separated by space, defaults to every file | yes | . |
| repository | The repository to push the code to, defaults to origin (e.g. this repository) | yes | origin |
| token | The token used to push the code, not needed if you push to the same repository | yes | ${{ github.token }} |
| force | Whether to perform force push | yes | 0 |
| directory | The working directory that will be used for git commands | yes | . |
Outputs
no outputs