From 5772c54ccdbcbb52ec4c91f43c183df5d4a2bf44 Mon Sep 17 00:00:00 2001 From: Tudor Date: Fri, 3 Jul 2026 13:53:57 +0100 Subject: [PATCH] fix(ci): use the documented GITHUB_TOKEN name for the run-scoped token GITEA_TOKEN worked (the review comment posted with it) but GITHUB_TOKEN is the documented name in Gitea Actions; use it to keep the reviewer and the docs aligned. Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01PqGhF93UrpDNvXBLMjJENL --- .gitea/workflows/pr-checks.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/pr-checks.yml b/.gitea/workflows/pr-checks.yml index 0a50c0a..be8783a 100644 --- a/.gitea/workflows/pr-checks.yml +++ b/.gitea/workflows/pr-checks.yml @@ -178,8 +178,9 @@ jobs: - name: Review PR diff with Claude Code env: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} - # Auto-provided per-run token from Gitea Actions (repo-scoped) - GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }} + # Auto-provided per-run token from Gitea Actions (repo-scoped). + # GITHUB_TOKEN is the documented name; GITEA_TOKEN is its alias. + GITEA_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITEA_SERVER_URL: ${{ gitea.server_url }} GITEA_REPOSITORY: ${{ gitea.repository }} PR_NUMBER: ${{ gitea.event.pull_request.number }}