fix: correct and simplify git push/pull request classification using content-type headers #1249
Annotations
2 errors and 4 warnings
|
HttpError: <html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx</center>
</body>
</html>
at /home/runner/work/_actions/release-drafter/release-drafter/b1476f6e6eb133afa41ed8589daba6dc69b4d3f5/dist/index.js:7146:21
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/b1476f6e6eb133afa41ed8589daba6dc69b4d3f5/dist/index.js:61885:18)
{
name: 'AggregateError',
event: {
id: '18869385447',
name: 'pull_request_target',
payload: {
action: 'synchronize',
after: '5e608c9be3a02c2cfa245b444bb7a5e16d86ee98',
before: '1312a6e72f63dd3da7bb942ca6fb1f49c38aabd6',
number: 1249,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/35377814?v=4',
description: 'FINOS’ mission is to promote open innovation in financial services. See our full list of repos from our nearly 100 projects & 11 programs at finos.github.io',
events_url: 'https://api.github.com/orgs/finos/events',
hooks_url: 'https://api.github.com/orgs/finos/hooks',
id: 35377814,
issues_url: 'https://api.github.com/orgs/finos/issues',
login: 'finos',
members_url: 'https://api.github.com/orgs/finos/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjM1Mzc3ODE0',
public_members_url: 'https://api.github.com/orgs/finos/public_members{/member}',
repos_url: 'https://api.github.com/orgs/finos/repos',
url: 'https://api.github.com/orgs/finos'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/finos/git-proxy/issues/1249/comments'
},
commits: {
href: 'https://api.github.com/repos/finos/git-proxy/pulls/1249/commits'
},
html: { href: 'https://github.com/finos/git-proxy/pull/1249' },
issue: {
href: 'https://api.github.com/repos/finos/git-proxy/issues/1249'
},
review_comment: {
href: 'https://api.github.com/repos/finos/git-proxy/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/finos/git-proxy/pulls/1249/comments'
},
self: {
href: 'https://api.github.com/repos/finos/git-proxy/pulls/1249'
},
statuses: {
href: 'https://api.github.com/repos/finos/git-proxy/statuses/5e608c9be3a02c2cfa245b444bb7a5e16d86ee98'
}
},
active_lock_reason: null,
additions: 11,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: {
commit_message: 'fix: correct and simplify git push/pull request classification using content-type headers',
commit_title: 'Merge pull request #1249 from kriswest/1185-git-request-classification',
enabled_by: {
avatar_url: 'https://avatars.githubusercontent.com/u/55323451?v=4',
events_url: 'https://api.github.com/users/JamieSlome/events{/privacy}',
followers_url: 'https://api.github.com/users/JamieSlome/followers',
following_url: 'https://api.github.com/users/JamieSlome/following{/other_user}',
gists_url: 'https://api.github.com/users/JamieSlome/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/JamieSlome',
id: 55323451,
login: 'JamieSlome',
node_id: 'MDQ6VXNlcjU1MzIzNDUx',
organizations_url: 'https://api.github.com/users/JamieSlome/orgs',
received_events_url: 'https://api.github.com/users/JamieSlome/received_events',
repos_url: 'https://api.github.com/users/JamieSlome/repos',
site_admin: false,
starred_url: 'https://api.github.com/users/JamieSlome/starred{/owner}{/repo}',
subscriptions_url: 'https://ap
|
|
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx</center>
</body>
</html>
{
name: 'HttpError',
id: '18869385447',
status: 502,
response: {
url: 'https://api.github.com/graphql',
status: 502,
headers: {
'content-length': '150',
'content-type': 'text/html',
date: 'Tue, 28 Oct 2025 09:00:56 GMT',
server: 'github.com',
vary: 'Accept-Encoding, Accept, X-Requested-With',
'x-github-request-id': 'D440:DEF7D:1A12646:707F7F3:6900863D'
},
data: '<html>\r\n' +
'<head><title>502 Bad Gateway</title></head>\r\n' +
'<body>\r\n' +
'<center><h1>502 Bad Gateway</h1></center>\r\n' +
'<hr><center>nginx</center>\r\n' +
'</body>\r\n' +
'</html>\r\n'
},
request: {
method: 'POST',
url: 'https://api.github.com/graphql',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.4.0 octokit-core.js/3.6.0 Node.js/20.19.4 (linux; x64)',
'x-github-delivery': '18869385447',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"query":"\\n query findCommitsWithAssociatedPullRequests(\\n $name: String!\\n $owner: String!\\n $targetCommitish: String!\\n $withPullRequestBody: Boolean!\\n $withPullRequestURL: Boolean!\\n $since: GitTimestamp\\n $after: String\\n $withBaseRefName: Boolean!\\n $withHeadRefName: Boolean!\\n $pullRequestLimit: Int!\\n ) {\\n repository(name: $name, owner: $owner) {\\n object(expression: $targetCommitish) {\\n ... on Commit {\\n history(first: 100, since: $since, after: $after) {\\n totalCount\\n pageInfo {\\n hasNextPage\\n endCursor\\n }\\n nodes {\\n id\\n committedDate\\n message\\n author {\\n name\\n user {\\n login\\n }\\n }\\n associatedPullRequests(first: $pullRequestLimit) {\\n nodes {\\n title\\n number\\n url @include(if: $withPullRequestURL)\\n body @include(if: $withPullRequestBody)\\n author {\\n login\\n __typename\\n url\\n }\\n baseRepository {\\n nameWithOwner\\n }\\n mergedAt\\n isCrossRepository\\n labels(first: 100) {\\n nodes {\\n name\\n }\\n }\\n merged\\n baseRefName @include(if: $withBaseRefName)\\n headRefName @include(if: $withHeadRefName)\\n }\\n }\\n }\\n }\\n }\\n }\\n }\\n }\\n","variables":{"name":"git-proxy","owner":"finos","targetCommitish":"refs/heads/main","withPullRequestBody":false,"withPullRequestURL":false,"withBaseRefName":false,"withHeadRefName":false,"pullRequestLimit":5,"since":"2025-07-30T15:15:11Z","after":"6f56f152b870a05b1f193f4fcb18276fc4b0308e 99"}}',
request: { retryCount: 3, retries: 3, retryAfter: 16 }
},
event: {
id: '18869385447',
name: 'pull_request_target',
payload: {
action: 'synchronize',
after: '5e608c9be3a02c2cfa245b444bb7a5e16d86ee98',
before: '1312a6e72f63dd3da7bb942ca6fb1f49c38aabd6',
number: 1249,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/35377814?v=4',
description: 'FINOS’ mission is to promote open innovation in financial services. See our full list of repos from our nearly 100 projects & 11 programs at finos.github.io',
events_url: 'https://api.github.com/orgs/finos/events',
hooks_url: 'https://api.github.com/orgs/finos/hooks',
id: 3537
|
|
|
|
|
|
|
|
|
The logs for this run have expired and are no longer available.
Loading