stefanzweifel/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` and the dirty-check (`git status`). Supports multiple space-separated patterns. For example `src/*.js`no.
repositoryRelative file path under $GITHUB_WORKSPACE 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)nofalse
create_branchCreate new branch with the name of `branch`-input in local and remote repository, if it doesn't exist yet.nofalse
create_git_tag_onlyPerform a clean git tag and push, without commiting anythingnofalse
before_add_hookShell snippet to run before `git add`.no""
after_add_hookShell snippet to run after `git add`.no""
before_commit_hookShell snippet to run before `git commit`.no""
after_commit_hookShell snippet to run after `git commit`.no""
before_tag_hookShell snippet to run before `git tag` is created.no""
after_tag_hookShell snippet to run after `git tag` is created.no""
before_push_hookShell snippet to run before `git push`.no""
after_push_hookShell snippet to run after `git push`.no""
disable_pull_request_target_trigger_warningSuppress the security warning emitted when the action runs on a `pull_request_target` event.nofalse
internal_git_binaryInternal use only! Path to git binary used to check if git is available. (Don't change this!)nogit
namedescription
changes_detectedValue is "true" if matching changes were detected and committed. Value is "false" if no matching changes were detected or only CRLF changes were staged. Not set in `create_git_tag_only` mode.
commit_hashFull hash of the created commit. Only set when a commit was actually made (i.e. `changes_detected` is "true").
create_git_tag_onlySet to "true" when the action ran in `create_git_tag_only` mode. Never set to "false".