From fc7269924c9b8cb865700116ef7873203ad862da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 13 May 2025 11:04:57 +0200 Subject: [PATCH] update-clan-core-for-checks: use ci bot token for prs --- .gitea/workflows/update-clan-core-for-checks.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/update-clan-core-for-checks.yml b/.gitea/workflows/update-clan-core-for-checks.yml index fa9721188..e3eb85694 100644 --- a/.gitea/workflows/update-clan-core-for-checks.yml +++ b/.gitea/workflows/update-clan-core-for-checks.yml @@ -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",