Set the git
user for the repository using Straw Hat Team bot account. Use it
for committing and pushing to the repository using the bot account.
-
Make sure
actions/checkout
action is used before this action. -
Add this action to your job in your workflow, here is an example:
#... jobs: something: name: Do something with git runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 # checkout the repository first - uses: straw-hat-team/github-actions-workflows/git/set-sht-bot-user@master