coderrob/Git Commit and Push Changes

This action automates committing and pushing code changes to a GitHub repository. It ensures updates are regularly applied without manual intervention while following security best practices.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
github-hostnameGitHub hostname to support GitHub Enterprise installations.nogithub.com
github-tokenGitHub token used for authenticationyes${{ github.token }}
repositoryGitHub repository in the format owner/repositoryno${{ github.repository }}
remote-refRemote repository referencenoorigin
fetch-latestWhether to fetch latest before committing changesnofalse
branchName of the branch to push the code intono${{ github.ref_name }}
create-branchCreate branch if it does not existnofalse
directory-pathPath to the directory containing files to commit and pushno.
author-nameName of the commit authornoGitHub Actions
author-emailEmail of the commit authornogithub-actions@noreply.github.com
sign-commitWhether to sign commits using GPG (true/false)nofalse
commit-messageCommit message for the changesnoAutomated commit-and-push by GitHub Actions
force-pushWhether to force push (true/false)nofalse
open-pull-requestWhether to open pull request (true/false)nofalse
pull-request-titleTitle of the pull request when open-pull-request is truenoAutomated Pull Request
pull-request-bodyBody of the pull request when open-pull-request is true. If empty, defaults to 'Automated pull request created by {author-name}.'no""
namedescription
commit-hashThe hash of the latest commit
pull-request-numberThe number of the created pull request (only set when open-pull-request is true)
pull-request-urlThe URL of the created pull request (only set when open-pull-request is true)