mirror of
https://github.com/imjasonh/git-k8s
synced 2026-07-09 15:16:56 +00:00
The workflows: write permission in the YAML permissions block is not valid for GITHUB_TOKEN, which prevented the workflow from starting. Pushing files under .github/workflows/ requires a PAT with the workflows scope. The workflow now uses a GH_PAT secret (falling back to GITHUB_TOKEN) for checkout and push. To set this up: Create a fine-grained PAT with Contents + Workflows read/write, then: gh secret set GH_PAT --body "<your-pat>" https://claude.ai/code/session_01JTYNSeJrGzdW6wfAUbdjjw |
||
|---|---|---|
| .. | ||
| aw | ||
| workflows | ||