Claude GitHub App access isn't enough: the token is a per-repo secret
I was setting up Claude Code GitHub Actions agents on my personal blog repo. The Claude GitHub App already had access to all my repositories, but the workflows still didn’t run.
The authentication token is not part of the app installation. It’s a per-repository Actions secret, CLAUDE_CODE_OAUTH_TOKEN. The one I had set up on a repo in my company’s GitHub organization didn’t carry over to a repo under my personal account. You can’t copy it either, because GitHub never shows a secret’s value again.
The fix is to create a new token and set it on the new repo:
claude setup-token # long-lived token that bills to my Claude subscription
gh secret set CLAUDE_CODE_OAUTH_TOKEN -R mustafasen81/my-web-site # paste when prompted
gh secret set asks for the value interactively, so the token doesn’t end up in shell history.