Repository API does not include allow_squash_merge
property.
#121005
Unanswered
itamar-smirra-port
asked this question in
API and Webhooks
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Question
Body
Hi!
I am using the GitHub api for getting repositories data.
For the specific repository get request
GET /repos/{owner}/{repo}
, when using fine-grained access token, some properties are not included likeallow_squash_merge
,allow_auto_merge
and more. It seems like the token need to have the following permissions:It is kind of weird that for get method you need write permissions but ok.
My main problem is when I want to get all of the repositories with the request of
GET /user/repos
. Even with the new permissions this properties are still excluded from the response.Possible solution will be much appreciate.
Beta Was this translation helpful? Give feedback.
All reactions