3,775 questions
-2
votes
0
answers
27
views
How to perform cross-organisation fork using GitHub App Integration
Here is the scenario.
I have a GitHub app installed in org A and org B, and for each company I can successfully exchange the installation id for access token I can use to interact with their resources ...
0
votes
1
answer
50
views
Assigning Github Issue to Copilot Fails using GraphQL
I'm working in a python based repo and I'm trying to develop a flow where I look for Asana tasks in a specific project and when new ones are found, create a github issue for them and assign them to ...
0
votes
0
answers
26
views
How to fetch only GitHub repositories where I have write access via API?
I want to fetch all GitHub Pull Requests from repositories where I am a contributor. To do that, I first need to get all repositories where I have write access.
I tried calling the GitHub API endpoint:...
0
votes
0
answers
25
views
how to list linked repositories in a github project by using gh
I am trying to see/list the repositories linked to a specific github project by using gh
gh project ...
My goal, after getting the linked repositories, is to iterate over them like this.
repos = {gh ...
0
votes
1
answer
79
views
Run workflow globally for all repos in an organization
company/repo_A -> some commit \
company/repo_B -> run workflow in company/repo_codecheck
company/repo_C -> some commit /
company/repo_D
We are looking to implement code ...
0
votes
0
answers
52
views
Why does GitHub only provide 'x-ms-blob-content-md5' for zip files?
> curl -IL https://github.com/pH200/sharp-layer/releases/latest/download/release-x64.zip | grep md5
x-ms-blob-content-md5: 1GjBkzlLBeHFFpHVMYME4g==
> curl -IL https://github.com/tailwindlabs/...
0
votes
1
answer
49
views
Why getting all PRs gives slightly less info than getting only one PR?
Using GitHub REST APIs, when I want to get a list of PRs, I can do GET /repos/{owner}/{repo}/pulls. When I want to get a specific PR, I can do GET /repos/{owner}/{repo}/pulls/{pull_number}. The former ...
3
votes
1
answer
149
views
GitHub Personal Access Token returns 401 "Bad credentials" but CLI works perfectly - What's the difference?
Problem Summary
All Personal Access Tokens return 401 Bad credentials when using curl or direct API calls, but GitHub CLI authentication works perfectly. This affects ALL tokens including newly ...
0
votes
0
answers
61
views
Decap CMS Local Proxy throws 404 Not Found from GitHub API for valid folder
Problem Description:
I am setting up a Decap CMS standalone instance with a local proxy backend to connect to a private GitHub repository. When I try to publish a new entry from the CMS UI, I ...
0
votes
2
answers
96
views
Search commit messages on all branches (including not fetched remote branches)
How can I search for some text in commit messages including not fetched remote branches. I'm aware of git log --grep "search text" but it doesn't search on remote branches if they are not ...
-1
votes
1
answer
42
views
How to disable automerge when creating a deployment?
I'm trying to create a deployment via the GitHub API.
According to the documentation:
auto_merge boolean
Attempts to automatically merge the default branch into the requested ref, if it's behind the ...
0
votes
1
answer
184
views
Models on GitHub Marketplace No Longer Accessible via PAT?
Yesterday, I tried using OpenAI and another model from the GitHub Marketplace, but I can no longer access them through a Personal Access Token (PAT).
HttpResponseError: (no_access) No access to model:...
0
votes
0
answers
48
views
How to get a list of commits that were force pushed using GitHub GraphQL API?
I have been trying to get a list of commits that were pushed to my repo using the --force push command.
I am doing this to identify which commits have potentially changed the history of the branch.
I ...
0
votes
0
answers
29
views
Unable to Get Issues Total Count from List Issues API since 2025-04-10
I'm encountering an issue with the GitHub List Issues API. Since April 10, 2025, I've found that it's no longer possible to obtain the total count of issues from the API response. I'm not sure if this ...
3
votes
1
answer
56
views
Why am I getting a 404 status code from my PUT method, when the GET method returns 200?
The method saveToDatabase() that I use to store the list of questions to my db.json on Github, returns 404 status code from the PUT method. Whereas, the same method returns a 200 status code when ...