GitHub Action for committing changes to a repository
GitHub Action that will create a new commit and push it back to the repository.
Dockerized as devopsinfra/action-commit-push.
Features:
- Can add a custom prefix to commit message by setting
commit_prefix. - Can create a new branch when
target_branchis set. - Can add a timestamp to a branch name, when
target_branchis set andadd_timestampistrue. Will create a branch named${branch_name}/${add_timestamp}. Great for cron-based updates. - As a commit message will use
commit_messageif set, orcommit_prefixand add changed files or just list changed files. - Good to combine with my other action devops-infra/action-pull-request.