From b726d1c8ec23486e24ee10673ddd4b8cc8179a6d Mon Sep 17 00:00:00 2001 From: mandalore Date: Tue, 22 Sep 2026 15:17:47 -0500 Subject: [PATCH] Rename secret reference to SYNC_ACCESS_TOKEN Gitea rejects secret names starting with GITEA_ (reserved for its own built-in secrets). Co-Authored-By: Claude Sonnet 5 --- .gitea/workflows/refresh-elo.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/refresh-elo.yml b/.gitea/workflows/refresh-elo.yml index 705d8a4..48510ea 100644 --- a/.gitea/workflows/refresh-elo.yml +++ b/.gitea/workflows/refresh-elo.yml @@ -18,11 +18,11 @@ jobs: run: python3 refresh_elo.py - name: Commit and push if changed env: - GITEA_ACCESS_TOKEN: ${{ secrets.GITEA_ACCESS_TOKEN }} + SYNC_ACCESS_TOKEN: ${{ secrets.SYNC_ACCESS_TOKEN }} run: | git config user.email "gitea-actions@gateway-gamers.net" git config user.name "Gitea Actions" - git remote set-url origin "https://mandalore:${GITEA_ACCESS_TOKEN}@gl.mando.club/mandalore/gateway-gamers.net.git" + git remote set-url origin "https://mandalore:${SYNC_ACCESS_TOKEN}@gl.mando.club/mandalore/gateway-gamers.net.git" git add sites/40k-rankings/public/elo-data.json if ! git diff --cached --quiet; then git commit -m "data: refresh stat-check ELO rankings"