MARP-620 Add release-drafter workflow #6
release-drafter.yml
on: pull_request
build
/
update_release_draft
5s
Annotations
2 errors
build / update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '10553783814',
status: 422,
response: {
url: 'https://api.github.com/repos/axonivy-market/docker-connector/releases/171400036',
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': '210',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Mon, 26 Aug 2024 04:57:14 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',
'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': 'AC49:3D097:1C64194:356D027:66CC0B29',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4933',
'x-ratelimit-reset': '1724649410',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '67',
'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#update-a-release',
status: '422'
}
},
request: {
method: 'PATCH',
url: 'https://api.github.com/repos/axonivy-market/docker-connector/releases/171400036',
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: '{"body":"## Changes\\n\\n- Release @github-actions (#20)\\n- Release @github-actions (#19)\\n- [MARP-838](https://1ivy.atlassian.net/browse/MARP-838): add guideline to determine the URL @linhpd-axonivy (#18)\\n- Ivy sgi patch 1 @ivy-sgi (#16)\\n- [MARP-626](https://1ivy.atlassian.net/browse/MARP-626) Fix for Dev Fail on Market-Monitor @phhung-axonivy (#15)\\n- Add feature request template @ivy-team (#14)\\n- Add bug report template @ivy-team (#13)\\n- Add code of conduct file @ivy-team (#12)\\n- Add code of conduct file @ivy-team (#11)\\n- Remove yet unaligned code of conduct file @ivy-team (#10)\\n- Add code of conduct file @ivy-team (#9)\\n- Add security file @ivy-team (#8)\\n- Release @github-actions (#6)\\n- Develop @linhpd-axonivy (#5)\\n- Changes suggested by review @weissreto (#4)\\n- Add test project with a web test @weissreto (#1)\\n- Provide description, demo, setup and correct mvn deps @weissreto (#2)\\n- Add connector tag an docker icon @weissreto (#3)\\n","draft":true,"prerelease":false,"make_latest":"true","name":"Next Release 🛒","tag_name":"next","target_commitish":"refs/pull/21/merge"}',
request: { retryCount: 1 }
},
event: {
id: '10553783814',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'eb3ec0708648cc679a5edc529b30a1cf92aceef5',
before: '1afdf99847bc8c10f1905fb515ec8658ba9bd807',
number: 21,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/84844136?v=4',
description: 'Ecosystem for the Axon Ivy Platform',
events_url: 'https://api.github.com/orgs/axonivy-market/events',
hooks_url: 'https://api.github.com/orgs/axonivy-market/hooks',
id: 84844136,
issues_url: 'htt
|
build / update_release_draft
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: '10553783814',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'eb3ec0708648cc679a5edc529b30a1cf92aceef5',
before: '1afdf99847bc8c10f1905fb515ec8658ba9bd807',
number: 21,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/84844136?v=4',
description: 'Ecosystem for the Axon Ivy Platform',
events_url: 'https://api.github.com/orgs/axonivy-market/events',
hooks_url: 'https://api.github.com/orgs/axonivy-market/hooks',
id: 84844136,
issues_url: 'https://api.github.com/orgs/axonivy-market/issues',
login: 'axonivy-market',
members_url: 'https://api.github.com/orgs/axonivy-market/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjg0ODQ0MTM2',
public_members_url: 'https://api.github.com/orgs/axonivy-market/public_members{/member}',
repos_url: 'https://api.github.com/orgs/axonivy-market/repos',
url: 'https://api.github.com/orgs/axonivy-market'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/axonivy-market/docker-connector/issues/21/comments'
},
commits: {
href: 'https://api.github.com/repos/axonivy-market/docker-connector/pulls/21/commits'
},
html: {
href: 'https://github.com/axonivy-market/docker-connector/pull/21'
},
issue: {
href: 'https://api.github.com/repos/axonivy-market/docker-connector/issues/21'
},
review_comment: {
href: 'https://api.github.com/repos/axonivy-market/docker-connector/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/axonivy-market/docker-connector/pulls/21/comments'
},
self: {
href: 'https://api.github.com/repos/axonivy-market/docker-connector/pulls/21'
},
statuses: {
href: 'https://api.github.com/repos/axonivy-market/docker-connector/statuses/eb3ec0708648cc679a5edc529b30a1cf92aceef5'
}
},
active_lock_reason: null,
additions: 21,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: null,
base: {
label: 'axonivy-market:master',
ref: 'master',
repo: {
allow_auto_merge: false,
allow_forking: true,
allow_merge_commit: true,
allow_rebase_merge: true,
allow_squash_merge: true,
allow_update_branch: false,
archive_url: 'https://api.github.com/repos/axonivy-market/docker-connector/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/axonivy-market/docker-connector/assignees{/user}',
blobs_url: 'https://api.github.com/repos/axonivy-market/docker-connector/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/axonivy-market/docker-connector/branches{/branch}',
clone_url: 'https://github.com/axonivy-market/docker-connector.git',
collaborators_url: 'https://api.github.com/repos/axonivy-market/docker-connector/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/axonivy-market/docker-connector/comments{/number}',
commits_url: 'https://api.github.com/repos/axonivy-market/docker-connector/commits{/sha}',
compare_url: 'https://api.github.com/repos/axonivy-market/docker-connector/compare/{base}...{head}',
contents_
|