[Blueprints, 02-at-scale]: Pre-validates Casc bundles pipelines #1591
Annotations
2 errors and 1 warning
Run release-drafter/release-drafter@v5
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '11381821139',
status: 422,
response: {
url: 'https://api.github.com/repos/cloudbees/terraform-aws-cloudbees-ci-eks-addon/releases/179647021',
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: 'Thu, 17 Oct 2024 09:07:07 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': '7417:138D1A:4B7BA12:9164D94:6710D3BB',
'x-ratelimit-limit': '15000',
'x-ratelimit-remaining': '14974',
'x-ratelimit-reset': '1729158490',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '26',
'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/cloudbees/terraform-aws-cloudbees-ci-eks-addon/releases/179647021',
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":"## CloudBees CI\\n\\nApplication: [![Application](https://img.shields.io/badge/x.xx.x.x-informational?style=flat-square)](https://docs.cloudbees.com/docs/release-notes/latest/cloudbees-ci/modern-cloud-platforms/x.xx.x.x)\\nHelm Chart: [![Application](https://img.shields.io/badge/x.xx.x.x-informational?style=flat-square)](https://artifacthub.io/packages/helm/cloudbees/cloudbees-core/xxxxxxxxxxxxxx)\\n\\n## Changes\\n\\n* No changes\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v3.19313.1 🌈","tag_name":"v3.19313.1","target_commitish":"refs/pull/205/merge"}',
request: {}
},
event: {
id: '11381821139',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '2f386d535e2bd0039fb153fee0a0ec4ab653d4de',
before: '2285db2f0a0cb6e6b3b9755f2b38fec7024da117',
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/1852?v=4',
created_at: '2019-12-31T05:53:40Z',
description: '',
html_url: 'https://github.com/enterprises/cloudbees',
id: 1852,
name: 'CloudBees, Inc.',
node_id: 'MDEwOkVudGVycHJpc2UxODUy',
slug: 'cloudbees',
updated_at: '2024-08-29T22:49:56Z',
website_url: 'https://www.cloudbees.com'
},
number: 205,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/235526?v=4',
description: '',
events_url: 'https://api.github.com/orgs/cloudbees/events',
hooks_url: 'https://api.github.com/orgs/cloudbees/hooks',
id: 235526,
issues_url: 'https://api.github.com/orgs/cloudbees/issues',
login: 'cloudbees',
members_url: 'https://api.github
|
Run release-drafter/release-drafter@v5
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 process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '11381821139',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '2f386d535e2bd0039fb153fee0a0ec4ab653d4de',
before: '2285db2f0a0cb6e6b3b9755f2b38fec7024da117',
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/1852?v=4',
created_at: '2019-12-31T05:53:40Z',
description: '',
html_url: 'https://github.com/enterprises/cloudbees',
id: 1852,
name: 'CloudBees, Inc.',
node_id: 'MDEwOkVudGVycHJpc2UxODUy',
slug: 'cloudbees',
updated_at: '2024-08-29T22:49:56Z',
website_url: 'https://www.cloudbees.com'
},
number: 205,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/235526?v=4',
description: '',
events_url: 'https://api.github.com/orgs/cloudbees/events',
hooks_url: 'https://api.github.com/orgs/cloudbees/hooks',
id: 235526,
issues_url: 'https://api.github.com/orgs/cloudbees/issues',
login: 'cloudbees',
members_url: 'https://api.github.com/orgs/cloudbees/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjIzNTUyNg==',
public_members_url: 'https://api.github.com/orgs/cloudbees/public_members{/member}',
repos_url: 'https://api.github.com/orgs/cloudbees/repos',
url: 'https://api.github.com/orgs/cloudbees'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/cloudbees/terraform-aws-cloudbees-ci-eks-addon/issues/205/comments'
},
commits: {
href: 'https://api.github.com/repos/cloudbees/terraform-aws-cloudbees-ci-eks-addon/pulls/205/commits'
},
html: {
href: 'https://github.com/cloudbees/terraform-aws-cloudbees-ci-eks-addon/pull/205'
},
issue: {
href: 'https://api.github.com/repos/cloudbees/terraform-aws-cloudbees-ci-eks-addon/issues/205'
},
review_comment: {
href: 'https://api.github.com/repos/cloudbees/terraform-aws-cloudbees-ci-eks-addon/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/cloudbees/terraform-aws-cloudbees-ci-eks-addon/pulls/205/comments'
},
self: {
href: 'https://api.github.com/repos/cloudbees/terraform-aws-cloudbees-ci-eks-addon/pulls/205'
},
statuses: {
href: 'https://api.github.com/repos/cloudbees/terraform-aws-cloudbees-ci-eks-addon/statuses/2f386d535e2bd0039fb153fee0a0ec4ab653d4de'
}
},
active_lock_reason: null,
additions: 159,
assignee: null,
assignees: [],
author_association: 'COLLABORATOR',
auto_merge: null,
base: {
label: 'cloudbees:develop',
ref: 'develop',
repo: {
allow_auto_merge: false,
allow_forking: true,
allow_merge_commit: true,
allow_rebase_merge: true,
allow_squash_merge: true,
allow_update_branch: true,
archive_url: 'https://api.github.com/repos/cloudbees/terraform-aws-cloudbees-ci-eks-addon/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/cloudbees/terraform-aws-cloudbees-ci-eks-addon/assignees{/user}',
blobs_url: 'https://api.github.com/repos/cloudbees/terraform-aws-cloudbees-ci-eks-addon/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/cloudbees/terraform-aws-cloudbees-ci-eks-addon/branches{/branch
|
The following actions use a deprecated Node.js version and will be forced to run on node20: release-drafter/release-drafter@v5. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading