MARP-620 Add publish-release workflow #5
release-drafter.yml
on: pull_request
build
/
update_release_draft
18s
Annotations
2 errors
build / update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '10553793105',
status: 422,
response: {
url: 'https://api.github.com/repos/axonivy-market/mobileapp/releases/171400088',
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:55:37 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': 'C482:200887:1988B70:2FC4CD3:66CC0AC9',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4984',
'x-ratelimit-reset': '1724649440',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '16',
'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/mobileapp/releases/171400088',
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- Add bug report template @ivy-team (#140)\\n- Add feature request template @ivy-team (#141)\\n- Add code of conduct file @ivy-team (#139)\\n- MIVY-1278 UI bug 6.1 inches screen (#137) @lttung-axonivy (#138)\\n- MIVY-1278 UI bug 6.1 inches screen @nhthinh-axonivy (#137)\\n- Merge to release 3.0.0 @lttung-axonivy (#134)\\n- Feature/MIVY-1277 Colour contrast compliance with WCAG 2.1 Level @nhthinh-axonivy (#135)\\n- MIVY-1197 Various or urgent requests in Mobile App - S7 > MIVY-1275 R… @lttung-axonivy (#133)\\n- Load offline task from fullrequestpath for online + Unstable to start process for portal security context @lmtung (#130)\\n- Update build android on java 17 @lmtung (#129)\\n- MIVY-1252 Test and refactor task item @vvmuoi-axonivy (#128)\\n- [ImgBot] Optimize images @imgbot (#117)\\n- Feature/mivy 1244 demo showcase rework elevator maintenance @nhthinh-axonivy (#127)\\n- MIVY-1197 Various or urgent requests in Mobile App - S7 > Remove unne… @lttung-axonivy (#126)\\n- Correct download html status 404 @lmtung (#125)\\n- Feature/mivy 1197 update doc for developer @lttung-axonivy (#124)\\n- Feature/mivy 1256 remove warnings in GitHub aciton builds @lttung-axonivy (#123)\\n- Task detail panel disappear (#121) @lttung-axonivy (#122)\\n- Task detail panel disappear @lmtung (#121)\\n- Merge develop to master @lmtung (#120)\\n- Improve feedback from review s7 @vvmuoi-axonivy (#118)\\n- Bump version 2.0.0 @lmtung (#119)\\n- Merge Develop to master @lmtung (#116)\\n- Correct app build workflow @lmtung (#115)\\n- Update storage permission on android @lmtung (#113)\\n- Correct UI on android tablet @lmtung (#114)\\n- Fix flutter version @lmtung (#112)\\n- Bump version 1.0.7 @lmtung (#111)\\n- MIVY-1129 Ta
|
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: '10553793105',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'f402a51a8de1cc8dfab2334ae8eb6e03e0625b77',
before: '3f97a28ca17fde6b0eaa16fead53d4a53d84e46a',
number: 143,
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/mobileapp/issues/143/comments'
},
commits: {
href: 'https://api.github.com/repos/axonivy-market/mobileapp/pulls/143/commits'
},
html: {
href: 'https://github.com/axonivy-market/mobileapp/pull/143'
},
issue: {
href: 'https://api.github.com/repos/axonivy-market/mobileapp/issues/143'
},
review_comment: {
href: 'https://api.github.com/repos/axonivy-market/mobileapp/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/axonivy-market/mobileapp/pulls/143/comments'
},
self: {
href: 'https://api.github.com/repos/axonivy-market/mobileapp/pulls/143'
},
statuses: {
href: 'https://api.github.com/repos/axonivy-market/mobileapp/statuses/f402a51a8de1cc8dfab2334ae8eb6e03e0625b77'
}
},
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/mobileapp/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/axonivy-market/mobileapp/assignees{/user}',
blobs_url: 'https://api.github.com/repos/axonivy-market/mobileapp/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/axonivy-market/mobileapp/branches{/branch}',
clone_url: 'https://github.com/axonivy-market/mobileapp.git',
collaborators_url: 'https://api.github.com/repos/axonivy-market/mobileapp/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/axonivy-market/mobileapp/comments{/number}',
commits_url: 'https://api.github.com/repos/axonivy-market/mobileapp/commits{/sha}',
compare_url: 'https://api.github.com/repos/axonivy-market/mobileapp/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/axonivy-market/mobileapp/contents/{+path}',
contributors_url: 'ht
|