3,774 questions
Tooling
0
votes
2
replies
50
views
Getting "My branches" from github using REST or GraphQL
On githubs webpage you can go to https://github.com/owner/repo/branches/yours
and get a pretty good guess at what "your" branches are.
I would like to retrieve that list using REST or ...
-8
votes
2
answers
102
views
How to automatically approve Perplexity GitHub Connector popups on the web UI?
I'm using Perplexity web UI (https://www.perplexity.ai/) with the GitHub Connector to automate code edits and commits. Every time I ask Perplexity to create/update files or make changes, an "...
0
votes
0
answers
81
views
GitHub API endpoint no longer returning results for referral sources
When querying the referral sources endpoint on GitHub I'm only getting an empty list returned. I can get data for other endpoints in the same repo, even for other traffic endpoints. I'm expecting ...
1
vote
0
answers
56
views
Comment on unchanged lines
A few weeks ago, along with the new "files-changed" page, Github announced the possibility to add a comment on any line of a changed file.
The anounce mentioned "limited API support&...
0
votes
1
answer
238
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
28
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
30
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
257
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
82
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
77
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
299
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
105
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
103
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
83
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
264
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:...