actions-js/GitHub Commit & Push
Push changes made by actions right back into the current repository.
View on GitHubTrust Signals
- Scorecard Score
- Scorecard 2–4scored Jul 13, 2026
- Maintenance Recency
- Stalelast commit Apr 17, 2024
- License
- MIT
Pinned Snippet
uses: actions-js/push@5a7cbd780d82c0c937b5977586e641b2fd94acc5 # v1.5tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| github_token | Token for the repo. Can be passed in using $\{{ secrets.GITHUB_TOKEN }} | yes | — |
| author_email | Email used to configure user.email in `git config`. | no | github-actions[bot]@users.noreply.github.com |
| author_name | Name used to configure user.name in `git config`. | no | github-actions[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 or empty value represents current github repository (${GITHUB_REPOSITORY}). | no | "" |
| branch | Destination branch to push changes. | no | main |
| empty | Allow empty commit. | no | — |
| amend | Determines if the commit should be amended. | no | false |
| force | Determines if force push is used. | no | — |
| tags | Determines if --tags is used. | no | — |
| rebase | Determines if `git pull --rebase` is used before the push. This is useful if multiple actions try to push at the same time. | no | — |
| directory | Directory to change to before pushing. | no | . |
Outputs
no outputs