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",