Skip to content

Using a Fine-Grained PAT for Self-Hosted Runner Registration #120232

Answered by actionshrimp
msanft asked this question in Actions
Discussion options

You must be logged in to vote

I was just able to get this to work by generating a fine-grained PAT token from an account that was a github org-level admin.

I was originally trying to do this from a non-admin 'bot' account, was able to generate the token / request approval / and then approve the token from my admin account, however this token encountered the error above. I assume there is some kind of issue with the approval process for fine-grained PATs.

Ideally I would be able to manage the token from this 'bot' account, but at least there is a workaround for now, and I feel more comfortable using this fine-grained token from my own account with just this single permission, vs a classic admin token.

For reference, th…

Replies: 1 comment 12 replies

Comment options

You must be logged in to vote
12 replies
@mickeygousset
Comment options

@mickeygousset
Comment options

@msanft
Comment options

@actionshrimp
Comment options

Answer selected by msanft
@mickeygousset
Comment options

@mickeygousset
Comment options

@actionshrimp
Comment options

@mickeygousset
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD Question
3 participants