update-clan-core-for-checks: use ci bot token for prs

This commit is contained in:
Jörg Thalheim
2025-05-13 11:04:57 +02:00
parent 8bdd6ba6d4
commit fc7269924c

View File

@@ -15,14 +15,14 @@ jobs:
run: nix run .#update-clan-core-for-checks
- name: Create pull request
env:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
CI_BOT_TOKEN: ${{ secrets.CI_BOT_TOKEN }}
run: |
export GIT_AUTHOR_NAME=clan-bot GIT_AUTHOR_EMAIL=clan-bot@clan.lol GIT_COMMITTER_NAME=clan-bot GIT_COMMITTER_EMAIL=clan-bot@clan.lol
git commit -am "Update pinned clan-core for checks"
git push origin +HEAD:update-clan-core-for-checks
set -x
nix run --inputs-from . nixpkgs#curl -- -X POST \
-H "Authorization: token $GITEA_TOKEN" \
-H "Authorization: token $CI_BOT_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"head": "update-clan-core-for-checks",