ci(test): test release process 🧪 #2
release.yml
on: pull_request
create_github_release
8s
Annotations
3 errors
create_github_release
Resource not accessible by integration
{
name: 'HttpError',
id: '9063159084',
status: 403,
response: {
url: 'https://api.github.com/repos/finos/git-proxy/issues/562/labels',
status: 403,
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-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset',
connection: 'close',
'content-encoding': 'gzip',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Mon, 13 May 2024 12:54:20 GMT',
'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
server: 'github.com',
'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
'transfer-encoding': 'chunked',
vary: 'Accept-Encoding, Accept, X-Requested-With',
'x-accepted-github-permissions': 'issues=write; pull_requests=write',
'x-content-type-options': 'nosniff',
'x-frame-options': 'deny',
'x-github-api-version-selected': '2022-11-28',
'x-github-media-type': 'github.v3; format=json',
'x-github-request-id': 'E01D:144FE9:AFFCBF5:B137110:66420D7C',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4965',
'x-ratelimit-reset': '1715608127',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '35',
'x-xss-protection': '0'
},
data: {
message: 'Resource not accessible by integration',
documentation_url: 'https://docs.github.com/rest/issues/labels#add-labels-to-an-issue'
}
},
request: {
method: 'POST',
url: 'https://api.github.com/repos/finos/git-proxy/issues/562/labels',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.8.1 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"labels":["automation"]}',
request: {}
},
event: {
id: '9063159084',
name: 'pull_request',
payload: {
action: 'opened',
number: 562,
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/562/comments'
},
commits: {
href: 'https://api.github.com/repos/finos/git-proxy/pulls/562/commits'
},
html: { href: 'https://github.com/finos/git-proxy/pull/562' },
issue: {
href: 'https://api.github.com/repos/finos/git-proxy/issues/562'
},
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/562/comments'
},
self: {
href: 'https://api.github.com/repos/finos/git-proxy/pulls/562'
},
statuses: {
href: 'https://api.github.com/r
|
create_github_release
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '9063159084',
status: 422,
response: {
url: 'https://api.github.com/repos/finos/git-proxy/releases',
status: 422,
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-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset',
connection: 'close',
'content-length': '195',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Mon, 13 May 2024 12:54:22 GMT',
'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
server: 'github.com',
'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
vary: 'Accept-Encoding, Accept, X-Requested-With',
'x-accepted-github-permissions': 'contents=write; contents=write,workflows=write',
'x-content-type-options': 'nosniff',
'x-frame-options': 'deny',
'x-github-api-version-selected': '2022-11-28',
'x-github-media-type': 'github.v3; format=json',
'x-github-request-id': 'E01F:3E2F7D:19490755:19726E2A:66420D7E',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4964',
'x-ratelimit-reset': '1715608127',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '36',
'x-xss-protection': '0'
},
data: {
message: 'Validation Failed',
errors: [
{
resource: 'Release',
code: 'invalid',
field: 'target_commitish'
}
],
documentation_url: 'https://docs.github.com/rest/releases/releases#create-a-release'
}
},
request: {
method: 'POST',
url: 'https://api.github.com/repos/finos/git-proxy/releases',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.8.1 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: `{"target_commitish":"refs/pull/562/merge","name":"Version 1.2.2","tag_name":"v1.2.2","body":"### What's Changed\\n\\n- Releaser @eddie-knight (#534)\\n\\n## 🐛 Bug Fixes\\n\\n- fix(deps): update react monorepo to v18.3.1 @renovate (#536)\\n- ci(fix): Remove NPM step condition @eddie-knight (#554)\\n\\n## 🧰 Maintenance\\n\\n- chore(ci): update release.yml paths to include package.json and package-lock.json @JamieSlome (#560)\\n- chore(deps): update release-drafter/release-drafter action to v6 @renovate (#553)\\n- ci(fix): Remove NPM step condition @eddie-knight (#554)\\n- chore(ci): update template name and github release markdown format @JamieSlome (#556)\\n- ci(fix): Limit when the releaser is run @eddie-knight (#555)\\n\\n---\\n\\n*Full Changelog**: https://github.com/finos/git-proxy/compare/v1.2.1...v1.2.2\\n","draft":true,"prerelease":false,"make_latest":"true"}`,
request: { retryCount: 1 }
},
event: {
id: '9063159084',
name: 'pull_request',
payload: {
action: 'opened',
number: 562,
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
|
create_github_release
HttpError: Resource not accessible by integration
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)
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
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: '9063159084',
name: 'pull_request',
payload: {
action: 'opened',
number: 562,
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/562/comments'
},
commits: {
href: 'https://api.github.com/repos/finos/git-proxy/pulls/562/commits'
},
html: { href: 'https://github.com/finos/git-proxy/pull/562' },
issue: {
href: 'https://api.github.com/repos/finos/git-proxy/issues/562'
},
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/562/comments'
},
self: {
href: 'https://api.github.com/repos/finos/git-proxy/pulls/562'
},
statuses: {
href: 'https://api.github.com/repos/finos/git-proxy/statuses/45d7a0c1a723166aef3cca7db1efee1b000393d4'
}
},
active_lock_reason: null,
additions: 31,
assignee: {
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://api.github.com/users/JamieSlome/subscriptions',
type: 'User',
url: 'https://api.github.com/users/JamieSlome'
},
assignees: [
{
avatar_url: 'https://avatars.githubusercontent.com/u/55323451?v=4',
events_url: 'https://api.github.com/users/JamieS
|