I'm trying to get the last commit it from a pull request using the API.
I'm using the following call:
gh api -H "Accept: application/vnd.github+json" /repos/$ORG/…
So I ended up finding the issue.
Apparently page_size is 25 by default.
That pull request had more than 25 commits, so I just increased the page size.
I was wondering, what would be the purpose of creating a OAuth application and authentication system for your website or project. Of course to log in with it, but then what? What would be examples …Read more
Is there already or are there plans for a REST API to access GitHub Classroom related information, including but not limited to:
commit_shacan't be a merge commit? API and Webhooks Question
I'm using the
https://api.github.com/repos/OWNER/REPO/commits/COMMIT_SHA/pulls endpoint to fetch the pull requests associated with a given
commit_sha, but one thing …
Currently there is no way to know what the default branch is in the List Branches API. You can get that info from the Repo API, but that means an additional …Read more
The concerned repository is a private repo on GitHub Enterprise. Below code is throwing following error:
Requested value 'Mannequin' was not found.
AddProjectV2ItemByIdAPI and Webhooks Question
I am not sure if this is just a question or an actual bug.
Trying to use GraphQL and adding items to the new GitHub Projects sometimes returns the error
X does not h…
I figured out the answer myself. The error is not related to the personal access token system but happens when you have not given the user running the query write access to the (modern) GitHub proj…Read more
can you help me？
use api invite collaborator to orgnization ,but "No seats are available to invite this user" recived .
用API邀请用户加入到企业组织，返回“No seats are available to invite this user”…
It is currently impossible to access a private repository belonging to an organization by using a fine-grained token belonging to an organization member (even the owner),…Read more