chore: add pull_request_target for releases #64
auto-labeler.yml
on: pull_request
Auto label pull requests
7s
Annotations
2 errors
Auto label pull requests
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '9177485744',
status: 422,
response: {
url: 'https://api.github.com/repos/github/cleanowners/releases/154884063',
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: 'Tue, 21 May 2024 15:46: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-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': 'CEC7:30E511:15E9324:27A166B:664CC1C2',
'x-ratelimit-limit': '15000',
'x-ratelimit-remaining': '14955',
'x-ratelimit-reset': '1716309886',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '45',
'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/cleanowners/releases/154884063',
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## 🧰 Maintenance\\n\\n- chore(deps): bump python from `2be8dad` to `afc139a` @dependabot (#79)\\n- chore(deps): bump the dependencies group with 2 updates @dependabot (#78)\\n- chore(deps): bump the dependencies group with 3 updates @dependabot (#77)\\n- chore: Switch to weekly dep updates to reduce noise @zkoppert (#76)\\n- chore(deps): bump the dependencies group across 1 directory with 2 updates @dependabot (#75)\\n\\nSee details of [all code changes](https://github.com/github/cleanowners/compare/v1.1.11...v1.1.12) since previous release\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v1.1.12","tag_name":"v1.1.12","target_commitish":"refs/pull/80/merge"}',
request: {}
},
event: {
id: '9177485744',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '055dcabfe53f9a5f4fb1f2c96ef07a78620c820f',
before: '4fa0cd6d7b764271aab45cc87c252a25ccc808ec',
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: 80,
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: 'g
|
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: '9177485744',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '055dcabfe53f9a5f4fb1f2c96ef07a78620c820f',
before: '4fa0cd6d7b764271aab45cc87c252a25ccc808ec',
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: 80,
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/cleanowners/issues/80/comments'
},
commits: {
href: 'https://api.github.com/repos/github/cleanowners/pulls/80/commits'
},
html: { href: 'https://github.com/github/cleanowners/pull/80' },
issue: {
href: 'https://api.github.com/repos/github/cleanowners/issues/80'
},
review_comment: {
href: 'https://api.github.com/repos/github/cleanowners/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/github/cleanowners/pulls/80/comments'
},
self: {
href: 'https://api.github.com/repos/github/cleanowners/pulls/80'
},
statuses: {
href: 'https://api.github.com/repos/github/cleanowners/statuses/055dcabfe53f9a5f4fb1f2c96ef07a78620c820f'
}
},
active_lock_reason: null,
additions: 5,
assignee: {
avatar_url: 'https://avatars.githubusercontent.com/u/35014?v=4',
events_url: 'https://api.github.com/users/jmeridth/events{/privacy}',
followers_url: 'https://api.github.com/users/jmeridth/followers',
following_url: 'https://api.github.com/users/jmeridth/following{/other_user}',
gists_url: 'https://api.github.com/users/jmeridth/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/jmeridth',
id: 35014,
login: 'jmeridth',
node_id: 'MDQ6VXNlcjM1MDE0',
organizations_url: 'https://api.github.com/users/jmeridth/orgs',
received_events_url: 'https://api.github.com/users/jmeridth/received_events',
repos_url: 'https://api.github.com/users/jmeridth/repos',
site_admin: true,
starred_url: 'https://api.github.com/users/jmeridth/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/jmeridth/subscriptions',
type: 'User',
url: 'https://api.github.com/users/jmeridth'
},
assignees: [
{
|