feat: Check the PR milestone matches the upcoming draft release. #22
release.yml
on: pull_request_target
release
/
update_release_draft
1m 1s
Annotations
2 errors
release / update_release_draft
Unknown error: {"data":null,"errors":[{"message":"Something went wrong while executing your query. This may be the result of a timeout, or it could be a GitHub bug. Please include `1808:3090ED:14B065:27FA8E:67314282` when reporting this issue."}]}
{
name: 'HttpError',
id: '11769425311',
status: 502,
response: {
url: 'https://api.github.com/graphql',
status: 502,
headers: {
'access-control-allow-origin': '*',
'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, Deprecation, Sunset',
connection: 'close',
'content-type': 'application/json',
date: 'Sun, 10 Nov 2024 23:32:29 GMT',
server: 'github.com',
'transfer-encoding': 'chunked',
vary: 'Accept-Encoding, Accept, X-Requested-With',
'x-github-request-id': '1808:3090ED:14B065:27FA8E:67314282'
},
data: {
data: null,
errors: [
{
message: 'Something went wrong while executing your query. This may be the result of a timeout, or it could be a GitHub bug. Please include `1808:3090ED:14B065:27FA8E:67314282` when reporting this issue.'
}
]
}
},
request: {
method: 'POST',
url: 'https://api.github.com/graphql',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.13.1 (linux; x64)',
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 ) {\\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: 5) {\\n nodes {\\n title\\n number\\n url @include(if: $withPullRequestURL)\\n body @include(if: $withPullRequestBody)\\n author {\\n login\\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":"ci-tools","owner":"TokTok","targetCommitish":"refs/heads/master","withPullRequestBody":false,"withPullRequestURL":false,"withBaseRefName":false,"withHeadRefName":false,"since":"2020-04-08T16:45:56Z"}}',
request: { retryCount: 3, retries: 3, retryAfter: 16 }
},
event: {
id: '11769425311',
name: 'pull_request_target',
payload: {
action: 'synchronize',
after: '6ab80f7f0e82035a9a22fb77bbbc5910873a49be',
before: 'cb7bff528a4087b363c5ddd037c0693ae273308f',
number: 81,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/17427091?v=4',
description: '#toktok on Libera.Chat',
events_u
|
release / update_release_draft
HttpError: Unknown error: {"data":null,"errors":[{"message":"Something went wrong while executing your query. This may be the result of a timeout, or it could be a GitHub bug. Please include `1808:3090ED:14B065:27FA8E:67314282` when reporting this issue."}]}
at /home/runner/work/_actions/release-drafter/release-drafter/v6/dist/index.js:8462:21
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v6/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '11769425311',
name: 'pull_request_target',
payload: {
action: 'synchronize',
after: '6ab80f7f0e82035a9a22fb77bbbc5910873a49be',
before: 'cb7bff528a4087b363c5ddd037c0693ae273308f',
number: 81,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/17427091?v=4',
description: '#toktok on Libera.Chat',
events_url: 'https://api.github.com/orgs/TokTok/events',
hooks_url: 'https://api.github.com/orgs/TokTok/hooks',
id: 17427091,
issues_url: 'https://api.github.com/orgs/TokTok/issues',
login: 'TokTok',
members_url: 'https://api.github.com/orgs/TokTok/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjE3NDI3MDkx',
public_members_url: 'https://api.github.com/orgs/TokTok/public_members{/member}',
repos_url: 'https://api.github.com/orgs/TokTok/repos',
url: 'https://api.github.com/orgs/TokTok'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/TokTok/ci-tools/issues/81/comments'
},
commits: {
href: 'https://api.github.com/repos/TokTok/ci-tools/pulls/81/commits'
},
html: { href: 'https://github.com/TokTok/ci-tools/pull/81' },
issue: {
href: 'https://api.github.com/repos/TokTok/ci-tools/issues/81'
},
review_comment: {
href: 'https://api.github.com/repos/TokTok/ci-tools/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/TokTok/ci-tools/pulls/81/comments'
},
self: {
href: 'https://api.github.com/repos/TokTok/ci-tools/pulls/81'
},
statuses: {
href: 'https://api.github.com/repos/TokTok/ci-tools/statuses/6ab80f7f0e82035a9a22fb77bbbc5910873a49be'
}
},
active_lock_reason: null,
additions: 118,
assignee: null,
assignees: [],
author_association: 'MEMBER',
auto_merge: null,
base: {
label: 'TokTok:master',
ref: 'master',
repo: {
allow_auto_merge: false,
allow_forking: true,
allow_merge_commit: false,
allow_rebase_merge: false,
allow_squash_merge: true,
allow_update_branch: false,
archive_url: 'https://api.github.com/repos/TokTok/ci-tools/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/TokTok/ci-tools/assignees{/user}',
blobs_url: 'https://api.github.com/repos/TokTok/ci-tools/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/TokTok/ci-tools/branches{/branch}',
clone_url: 'https://github.com/TokTok/ci-tools.git',
collaborators_url: 'https://api.github.com/repos/TokTok/ci-tools/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/TokTok/ci-tools/comments{/number}',
commits_url: 'https://api.github.com/repos/TokTok/ci-tools/commits{/sha}',
compare_url: 'https://api.github.com/repos/TokTok/ci-tools/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/TokTok/ci-tools/contents/{+path}',
contributors_url: 'https://api.github.com/repos/TokTok/ci-tools/contributors',
created_at: '2018-07-20T16:40:10Z',
|