Skip to content

Commit 5f42d4c

Browse files
Dev Userclaude
andcommitted
fix(ci): revert to MIGRATION_PAT for variable migration
GITHUB_TOKEN lacks permission to manage repository variables. Matches the working SpokeToWork approach — requires MIGRATION_PAT secret. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent dbedf38 commit 5f42d4c

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

.github/workflows/migrate-secrets-to-vars.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,13 @@ name: Migrate Secrets to Variables (one-time)
44
on:
55
workflow_dispatch:
66

7-
permissions:
8-
actions: write
9-
107
jobs:
118
migrate:
129
runs-on: ubuntu-latest
1310
steps:
1411
- name: Migrate secrets to variables
1512
env:
16-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
13+
GH_TOKEN: ${{ secrets.MIGRATION_PAT }}
1714
REPO: ${{ github.repository }}
1815
# --- Non-sensitive values to migrate ---
1916
S_NEXT_PUBLIC_AUTHOR_AVATAR: ${{ secrets.NEXT_PUBLIC_AUTHOR_AVATAR }}

0 commit comments

Comments
 (0)