step-security/Git Auto Commit

Automatically commits files which have been changed during the workflow run and push changes back to remote repository.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
commit_messageCommit messagenoApply automatic changes
branchGit branch name, where changes should be pushed too. Required if Action is used on the `pull_request` eventno${{ github.head_ref }}
commit_optionsCommit options (eg. --no-verify)no""
add_optionsAdd options (eg. -u)no""
status_optionsStatus options (eg. --untracked-files=no)no""
file_patternFile pattern used for `git add`. For example `src/*.js`no.
repositoryLocal file path to the git repository. Defaults to the current directory (`.`)no.
commit_user_nameName used for the commit usernogithub-actions[bot]
commit_user_emailEmail address used for the commit userno41898282+github-actions[bot]@users.noreply.github.com
commit_authorValue used for the commit author. Defaults to the username of whoever triggered this workflow run.no${{ github.actor }} <${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com>
tag_nameTag name used for creating a new git tag with the commit. Keep this empty, if no tag should be created.no""
tagging_messageTagging message used for creating a new git tag with the commit. Keep this empty, if no tag should be created.no""
push_optionsPush options (eg. --force)no""
skip_dirty_checkSkip the check if the git repository is dirty and always try to create a commit.nofalse
skip_fetchSkip the call to git-fetch.nofalse
skip_checkoutSkip the call to git-checkout.nofalse
skip_pushSkip the call to git-push.nofalse
disable_globbingStop the shell from expanding filenames (https://www.gnu.org/software/bash/manual/html_node/Filename-Expansion.html)false
create_branchCreate new branch with the name of `branch`-input in local and remote repository, if it doesn't exist yet.false
create_git_tag_onlyPerform a clean git tag and push, without commiting anythingnofalse
internal_git_binaryInternal use only! Path to git binary used to check if git is available. (Don't change this!)git
namedescription
changes_detectedValue is "true", if the repository was dirty and file changes have been detected. Value is "false", if no changes have been detected.
commit_hashFull hash of the created commit. Only present if the "changes_detected" output is "true".
create_git_tag_onlyValue is "true", if a git tag was created using the `create_git_tag_only`-input.