ci: use user account to bypass branch protection rule

This commit is contained in:
Daniel
2023-12-13 01:47:10 +01:00
parent 0d8cf90053
commit 9620f17c2e
@@ -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