3,765 questions
Score of 2
0 answers
59 views
Next.js OAuth route returns 307 redirects and eventually 404 after disabling development auth mode
I'm working on a Next.js application that supports two authentication modes:
Development mode (NEXT_PUBLIC_DEV_MODE=true) which bypasses GitHub OAuth and logs in a mock user.
Production mode (...
Tooling
0
votes
2
replies
105
views
What methods can I use to provide an upload page on a static (github pages) website?
I have a project that is currently in github pages (and will change to codeberg sometime this year) and we want to invite collaborators of all backgrounds. This means a lot might not have a github/...
Advice
0
votes
0
replies
102
views
Does Gemini Enterprise GitHub connector search a private repo in real time or only the indexed Data Store?
I am testing Gemini Enterprise / AI Applications with the GitHub connector for a private GitHub repository.
My goal is to create a read-only search or review assistant for one private repository. I do ...
Score of 0
1 answer
200 views
GitHub Actions checkout fails with "Not Found" error for SSO-protected enterprise repository despite valid PAT
Problem
I'm trying to checkout a private GitHub Enterprise repository in a GitHub Actions workflow, but it consistently fails with a "Not Found" error even though I have a valid Personal ...
Tooling
0
votes
2
replies
73
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 ...
Score of 0
0 answers
116 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 ...
Score of 1
0 answers
114 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&...
Score of 2
2 answers
745 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 ...
Score of 0
0 answers
35 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:...
Score of 0
0 answers
40 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 ...
Score of 0
1 answer
912 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 ...
Score of 0
0 answers
130 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/...
Score of 0
1 answer
95 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 ...
Score of 3
1 answer
1051 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 ...
Score of 0
2 answers
138 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 ...