Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Pilot Lvl 1
Message 1 of 3

repository_dispatch and OAuth scope - should be able to use repo:public_repo for public repositories

Solved! Go to Solution.

Feature request: allow "repo:public_repo" OAuth scope for Personal Access Tokens used to target repository_dispatch events for public repositories.

 

The current requirement for "repo" OAuth scope is overkill.

2 Replies
Highlighted
Solution
GitHub Partner
Message 2 of 3

Re: repository_dispatch and OAuth scope - should be able to use repo:public_repo for public reposito

Hi @rbellamy ,

 

Thank you for being here! I created a personal access token with only "repo:public_repo" OAuth scope, and successfully use it to create respository dispatch event to a publich repository. Could you please clarify what do you mean 'overkill'? Thanks.

Highlighted
Pilot Lvl 1
Message 3 of 3

Re: repository_dispatch and OAuth scope - should be able to use repo:public_repo for public reposito

Well, shoot, I thought I'd tested "repo:public_repo" for triggering repository_dispatch on a public repo, and got an authorization error. Marking this topic solved.