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