Hacker News new | ask | show | jobs
Ask HN: GitHub API Down Again?
1 points by alxndr13 307 days ago
For me, Github's GraphQL API does return 502's since an hour at least.

Because of this, our release-please github actions aren't working anymore. Please tell me i'm not the only one..

Request in question:

``` curl -X POST https://api.github.com/graphql \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $(gh auth token)" \ -d '{ "query": "query pullRequestsSince($owner: String!, $repo: String!, $num: Int!, $maxFilesChanged: Int, $targetBranch: String!, $cursor: String) {\n repository(owner: $owner, name: $repo) {\n ref(qualifiedName: $targetBranch) {\n target {\n ... on Commit {\n history(first: $num, after: $cursor) {\n nodes {\n associatedPullRequests(first: 10) {\n nodes {\n number\n title\n baseRefName\n headRefName\n labels(first: 10) {\n nodes {\n name\n }\n }\n body\n mergeCommit {\n oid\n }\n files(first: $maxFilesChanged) {\n nodes {\n path\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n }\n }\n sha: oid\n message\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n }\n }\n }\n }\n }", "variables": { "owner": "ownername", "repo": "reponame", "num": 25, "targetBranch": "main", "maxFilesChanged": 100 } }' -v ```

1 comments

GitHub does seem to be having issues with downtime a lot. Security incidents in GitHub jumped from 69 cases in the first half of 2024 to 109 in the first half of 2025 (58% rise!!!). I suggest this report for more info on this topic:

https://gitprotect.io/devops-threats-unwrapped.html