Skip to content
Discussion options

You must be logged in to vote

Hello, this is a recent security fix. GitHub Apps never had sufficient permission to enable/disable Pages sites (one need to be a repository admin or owner to perform such an operation). While it worked in the past, this was an oversight from our part.

The best workaround now if you still need to enable Pages sites programmatically is to leverage PAT.

Replies: 5 comments 8 replies

Comment options

You must be logged in to vote
3 replies
@did
Comment options

@yoannchaudet
Comment options

@chungwu
Comment options

Answer selected by did
Comment options

You must be logged in to vote
1 reply
@yoannchaudet
Comment options

Comment options

You must be logged in to vote
3 replies
@yoannchaudet
Comment options

@Luis-3M
Comment options

@yoannchaudet
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Apps API and Webhooks Discussions related to GitHub's APIs or Webhooks Pages Host a static website, right from your repo Product Feedback Share your thoughts and suggestions on GitHub features and improvements
5 participants