From 32bf2cbed5456c56e5f849120d7f559ccece77a5 Mon Sep 17 00:00:00 2001 From: litruv Date: Mon, 3 Aug 2026 16:30:50 +1000 Subject: [PATCH] Use ACTIONS_TOKEN secret to dispatch cinny-mobile builds. --- .gitea/workflows/trigger-mobile.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/trigger-mobile.yml b/.gitea/workflows/trigger-mobile.yml index 2aff32f..4865540 100644 --- a/.gitea/workflows/trigger-mobile.yml +++ b/.gitea/workflows/trigger-mobile.yml @@ -12,18 +12,18 @@ jobs: steps: - name: Dispatch update-submodule on cinny-mobile env: - # Prefer a PAT with Actions write on cinny-mobile (secret name: GITEA_TOKEN). + # Prefer a PAT with write:repository on cinny-mobile (secret: ACTIONS_TOKEN). # Default GITHUB_TOKEN is usually scoped to this repo only. - GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }} + ACTIONS_TOKEN: ${{ secrets.ACTIONS_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} API_BASE: ${{ github.server_url }}/api/v1 CINNY_SHA: ${{ github.sha }} run: | set -euo pipefail - TOKEN="${GITEA_TOKEN:-${GITHUB_TOKEN:-}}" + TOKEN="${ACTIONS_TOKEN:-${GITHUB_TOKEN:-}}" if [ -z "${TOKEN}" ]; then - echo "No GITEA_TOKEN/GITHUB_TOKEN available to dispatch cinny-mobile" + echo "No ACTIONS_TOKEN/GITHUB_TOKEN available to dispatch cinny-mobile" exit 1 fi