ci: use user account to bypass branch protection rule

This commit is contained in:
Daniel 2023-12-13 01:46:53 +01:00 committed by GitHub
parent 0d8cf90053
commit 2893d71716
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,6 +14,9 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.AWESOME_JELLYFIN_BOT_TOKEN }}
- name: Set up Go
uses: actions/setup-go@v3
@ -36,8 +39,8 @@ jobs:
- name: Commit and push if there are changes
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git config --local user.email "awesome-jellyfin@d2a.io"
git config --local user.name "awesome-jellyfin-bot"
git add CLIENTS.md
git commit -m "Update CLIENTS.md" --allow-empty || exit 0
git push