Repository API does not include allow_squash_merge
property.
#121005
Replies: 2 comments
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
I noticed the same awkward behavior. |
Beta Was this translation helpful? Give feedback.
-
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