actions-js/GitHub Commit & Push

Push changes made by actions right back into the current repository.

View on GitHub

Trust Signals

Scorecard Score
Scorecard 2–4scored Jul 13, 2026
Maintenance Recency
Stalelast commit Apr 17, 2024
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-js/push@5a7cbd780d82c0c937b5977586e641b2fd94acc5 # v1.5

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
github_tokenToken for the repo. Can be passed in using $\{{ secrets.GITHUB_TOKEN }}yes
author_emailEmail used to configure user.email in `git config`.nogithub-actions[bot]@users.noreply.github.com
author_nameName used to configure user.name in `git config`.nogithub-actions[bot]
coauthor_emailEmail used to make a co-authored commit.no
coauthor_nameName used to make a co-authored commit.no
messageCommit message.no
repositoryRepository name to push. Default or empty value represents current github repository (${GITHUB_REPOSITORY}).no""
branchDestination branch to push changes.nomain
emptyAllow empty commit.no
amendDetermines if the commit should be amended.nofalse
forceDetermines if force push is used.no
tagsDetermines if --tags is used.no
rebaseDetermines if `git pull --rebase` is used before the push. This is useful if multiple actions try to push at the same time.no
directoryDirectory to change to before pushing.no.

no outputs