Misc housekeeping #11
release-note.yml
on: pull_request
update_release_draft
5s
Annotations
2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '6880016129',
status: 422,
response: {
url: 'https://api.github.com/repos/opsmill/infrahub-ansible/releases/129567855',
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: 'Wed, 15 Nov 2023 16:20:10 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-oauth-scopes': 'repo',
'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': 'A415:186F:A1C326:14FAEA2:6554EFBA',
'x-oauth-scopes': 'admin:org, audit_log, gist, notifications, project, repo, user, workflow, write:discussion, write:packages',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4996',
'x-ratelimit-reset': '1700068809',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '4',
'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'
}
},
request: {
method: 'PATCH',
url: 'https://api.github.com/repos/opsmill/infrahub-ansible/releases/129567855',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/16.20.2 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"body":"## Changes\\n\\n- hot fix @BeArchiTek (#16)\\n- Rename .readthedocs.yml to .readthedocs.yaml @opsmill-bot (#15)\\n","draft":true,"prerelease":false,"make_latest":"true","tag_name":"untagged-4eaf7cb5568eb9034fef","target_commitish":"refs/pull/17/merge"}',
request: {}
},
event: {
id: '6880016129',
name: 'pull_request',
payload: {
action: 'opened',
number: 17,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/118297816?v=4',
description: '',
events_url: 'https://api.github.com/orgs/opsmill/events',
hooks_url: 'https://api.github.com/orgs/opsmill/hooks',
id: 118297816,
issues_url: 'https://api.github.com/orgs/opsmill/issues',
login: 'opsmill',
members_url: 'https://api.github.com/orgs/opsmill/members{/member}',
node_id: 'O_kgDOBw0U2A',
public_members_url: 'https://api.github.com/orgs/opsmill/public_members{/member}',
repos_url: 'https://api.github.com/orgs/opsmill/repos',
url: 'https://api.github.com/orgs/opsmill'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/opsmill/infrahub-ansible/issues/17/comments'
},
commits: {
href: 'https://api.github.com/repos/opsmill/infrahub-ansible/pulls/17/commits'
},
html: {
href: 'https://github.com/opsmill/infrahub-ansible/pull/17'
},
issue: {
href: 'https://api.github.com/repos/opsmill/infrahub-ansible/issues/17'
},
review_comment: {
href: 'https://ap
|
update_release_draft
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
at /home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:8462:21
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '6880016129',
name: 'pull_request',
payload: {
action: 'opened',
number: 17,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/118297816?v=4',
description: '',
events_url: 'https://api.github.com/orgs/opsmill/events',
hooks_url: 'https://api.github.com/orgs/opsmill/hooks',
id: 118297816,
issues_url: 'https://api.github.com/orgs/opsmill/issues',
login: 'opsmill',
members_url: 'https://api.github.com/orgs/opsmill/members{/member}',
node_id: 'O_kgDOBw0U2A',
public_members_url: 'https://api.github.com/orgs/opsmill/public_members{/member}',
repos_url: 'https://api.github.com/orgs/opsmill/repos',
url: 'https://api.github.com/orgs/opsmill'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/opsmill/infrahub-ansible/issues/17/comments'
},
commits: {
href: 'https://api.github.com/repos/opsmill/infrahub-ansible/pulls/17/commits'
},
html: {
href: 'https://github.com/opsmill/infrahub-ansible/pull/17'
},
issue: {
href: 'https://api.github.com/repos/opsmill/infrahub-ansible/issues/17'
},
review_comment: {
href: 'https://api.github.com/repos/opsmill/infrahub-ansible/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/opsmill/infrahub-ansible/pulls/17/comments'
},
self: {
href: 'https://api.github.com/repos/opsmill/infrahub-ansible/pulls/17'
},
statuses: {
href: 'https://api.github.com/repos/opsmill/infrahub-ansible/statuses/6991f7d75cfc4e2239e20e313392fdaaae10803d'
}
},
active_lock_reason: null,
additions: 201,
assignee: {
avatar_url: 'https://avatars.githubusercontent.com/u/1334310?v=4',
events_url: 'https://api.github.com/users/BeArchiTek/events{/privacy}',
followers_url: 'https://api.github.com/users/BeArchiTek/followers',
following_url: 'https://api.github.com/users/BeArchiTek/following{/other_user}',
gists_url: 'https://api.github.com/users/BeArchiTek/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/BeArchiTek',
id: 1334310,
login: 'BeArchiTek',
node_id: 'MDQ6VXNlcjEzMzQzMTA=',
organizations_url: 'https://api.github.com/users/BeArchiTek/orgs',
received_events_url: 'https://api.github.com/users/BeArchiTek/received_events',
repos_url: 'https://api.github.com/users/BeArchiTek/repos',
site_admin: false,
starred_url: 'https://api.github.com/users/BeArchiTek/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/BeArchiTek/subscriptions',
type: 'User',
url: 'https://api.github.com/users/BeArchiTek'
},
assignees: [
{
avatar_url: 'https://avatars.githubusercontent.com/u/1334310?v=4',
events_url: 'https://api.github.com/users/BeArchiTek/events{/privacy}',
followers_url: 'https://api.github.com/users/BeArchiTek/followers',
following_url: 'https://api.github.com/users/BeArchiTek/following{/other_user}',
gists_url: 'https://api.github.com/users/BeArchiTek/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/BeArchiTek',
id: 1334310,
login: 'BeArchiTek',
n
|