This GitHub Action will automatically setup following git configs to be ready for git commit
and git push
commands
- User Config
- Push Config
push.autoSetupRemote
=true
user
valid valuesbot
(default) - configuregithub-actions[bot]
as git useractor
- configure github actions contextgithub.actor
as git usercommitter
- configure committer fromHEAD
commit as git userUSER_NAME <USER_EMAIL>
- configure git user explicitly
jobs:
example:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: qoomon/actions--setup-git@v1
with:
user: bot
- run: |
date > dummy.txt
git add dummy.txt
git commit -m "chore: update dummy"
git push
Trigger Release Version workflow