ci: release when a new feature hits main #108
auto-labeler.yml
on: pull_request
Auto label pull requests
6s
Annotations
2 errors
Auto label pull requests
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '9241296614',
status: 422,
response: {
url: 'https://api.github.com/repos/github/evergreen/releases/154850496',
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: 'Sun, 26 May 2024 06:36:23 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': '2CB6:246DC1:68C5022:69B3FD8:6652D867',
'x-ratelimit-limit': '15000',
'x-ratelimit-remaining': '14907',
'x-ratelimit-reset': '1716706645',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '93',
'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/github/evergreen/releases/154850496',
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: '{"body":"# Changelog\\n## 🚀 Features\\n\\n- feat: Update existing configs with missing package-ecosystems @zkoppert (#140)\\n\\n## 🐛 Bug Fixes\\n\\n- fix: typo in env-example @zkoppert (#139)\\n\\n## 🧰 Maintenance\\n\\n- chore(deps): bump requests from 2.31.0 to 2.32.2 in the pip group @dependabot (#142)\\n- chore: add pull_request_target for releases @jmeridth (#137)\\n- chore(deps): bump the dependencies group with 3 updates @dependabot (#136)\\n- chore(deps): bump the dependencies group with 2 updates @dependabot (#135)\\n- chore(deps): bump github/codeql-action from 3.25.4 to 3.25.5 in the dependencies group @dependabot (#134)\\n- chore(deps): bump pylint from 3.1.0 to 3.1.1 in the dependencies group @dependabot (#133)\\n- chore: Switch to weekly dep updates to reduce noise @zkoppert (#132)\\n- chore(deps): bump ossf/scorecard-action from 2.3.1 to 2.3.3 in the dependencies group @dependabot (#131)\\n- chore(deps): bump the dependencies group with 2 updates @dependabot (#130)\\n\\nSee details of [all code changes](https://github.com/github/evergreen/compare/v1.10.8...v1.11.0) since previous release\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v1.11.0","tag_name":"v1.11.0","target_commitish":"refs/pull/145/merge"}',
request: {}
},
event: {
id: '9241296614',
name: 'pull_request',
payload: {
action: 'opened',
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/11468?v=4',
created_at: '2022-02-10T15:50:11Z',
description: 'Where the world builds software',
html_url: 'https://github.com/enterprises/github',
id: 11468,
name: 'GitHub',
node_id: 'E_kgDNLMw',
slug: 'github',
updated_at: '2022-12-21T02:54:24Z',
website_url:
|
Auto label pull requests
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
at /home/runner/work/_actions/release-drafter/release-drafter/3f0f87098bd6b5c5b9a36d49c41d998ea58f9348/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/3f0f87098bd6b5c5b9a36d49c41d998ea58f9348/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '9241296614',
name: 'pull_request',
payload: {
action: 'opened',
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/11468?v=4',
created_at: '2022-02-10T15:50:11Z',
description: 'Where the world builds software',
html_url: 'https://github.com/enterprises/github',
id: 11468,
name: 'GitHub',
node_id: 'E_kgDNLMw',
slug: 'github',
updated_at: '2022-12-21T02:54:24Z',
website_url: 'https://github.com/about'
},
number: 145,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/9919?v=4',
description: 'How people build software.',
events_url: 'https://api.github.com/orgs/github/events',
hooks_url: 'https://api.github.com/orgs/github/hooks',
id: 9919,
issues_url: 'https://api.github.com/orgs/github/issues',
login: 'github',
members_url: 'https://api.github.com/orgs/github/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjk5MTk=',
public_members_url: 'https://api.github.com/orgs/github/public_members{/member}',
repos_url: 'https://api.github.com/orgs/github/repos',
url: 'https://api.github.com/orgs/github'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/github/evergreen/issues/145/comments'
},
commits: {
href: 'https://api.github.com/repos/github/evergreen/pulls/145/commits'
},
html: { href: 'https://github.com/github/evergreen/pull/145' },
issue: {
href: 'https://api.github.com/repos/github/evergreen/issues/145'
},
review_comment: {
href: 'https://api.github.com/repos/github/evergreen/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/github/evergreen/pulls/145/comments'
},
self: {
href: 'https://api.github.com/repos/github/evergreen/pulls/145'
},
statuses: {
href: 'https://api.github.com/repos/github/evergreen/statuses/705e65466c5604306a2092b6eaa6f7d5f482c136'
}
},
active_lock_reason: null,
additions: 1,
assignee: null,
assignees: [],
author_association: 'MEMBER',
auto_merge: null,
base: {
label: 'github:main',
ref: 'main',
repo: {
allow_auto_merge: true,
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/github/evergreen/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/github/evergreen/assignees{/user}',
blobs_url: 'https://api.github.com/repos/github/evergreen/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/github/evergreen/branches{/branch}',
clone_url: 'https://github.com/github/evergreen.git',
collaborators_url: 'https://api.github.com/repos/github/evergreen/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/github/evergreen/comments{/number}',
commits_url: 'https://api.github.com/repos/github/evergreen/commits{/sha}',
compare_url: 'https://api.github.com/repos/github/evergreen/compare/{base}...
|