Skip to content

fix autolabeler by adding pull request events #31

fix autolabeler by adding pull request events

fix autolabeler by adding pull request events #31

Triggered via pull request March 7, 2024 16:05
Status Success
Total duration 15s
Artifacts

release-drafter.yml

on: pull_request
draft-release  /  update_release_draft
5s
draft-release / update_release_draft
Fit to window
Zoom out
Zoom in

Annotations

2 errors
draft-release / update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} { name: 'HttpError', id: '8191206098', status: 422, response: { url: 'https://api.github.com/repos/cpp-linter/cpp-linter-hooks/releases/145293047', 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: 'Thu, 07 Mar 2024 16:06:01 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': '5909:0144:2461B45:467BBCE:65E9E5E9', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4943', 'x-ratelimit-reset': '1709830142', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '57', '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/cpp-linter/cpp-linter-hooks/releases/145293047', 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":"<!-- Optional: add a release summary here -->\\n## ✍ Other changes\\n\\n- Update README.md by @shenxianpeng in #40\\n\\n## 📦 Dependency updates\\n\\n- Bump clang-tools from 0.11.3 to 0.12.0 by @dependabot in #39\\n\\n**Full Changelog**: https://github.com/cpp-linter/cpp-linter-hooks/compare/v0.3.0...v0.4.0\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v0.4.0","tag_name":"v0.4.0","target_commitish":"refs/pull/41/merge"}', request: {} }, event: { id: '8191206098', name: 'pull_request', payload: { action: 'reopened', number: 41, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/103884627?v=4', description: 'Lint your C/C++ code in workflow', events_url: 'https://api.github.com/orgs/cpp-linter/events', hooks_url: 'https://api.github.com/orgs/cpp-linter/hooks', id: 103884627, issues_url: 'https://api.github.com/orgs/cpp-linter/issues', login: 'cpp-linter', members_url: 'https://api.github.com/orgs/cpp-linter/members{/member}', node_id: 'O_kgDOBjEnUw', public_members_url: 'https://api.github.com/orgs/cpp-linter/public_members{/member}', repos_url: 'https://api.github.com/orgs/cpp-linter/repos', url: 'https://api.github.com/orgs/cpp-linter' }, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/cpp-linter/cpp-linter-hooks/issues/41/comments' }, commits: { href: 'https://api.github.com/repos/cpp-linter/cpp-linter-hooks/pulls/41/commits' }, html: { href: 'https://github.com/cpp-linter/cpp-linter-hooks/pull/41' }, issue: {
draft-release / 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: '8191206098', name: 'pull_request', payload: { action: 'reopened', number: 41, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/103884627?v=4', description: 'Lint your C/C++ code in workflow', events_url: 'https://api.github.com/orgs/cpp-linter/events', hooks_url: 'https://api.github.com/orgs/cpp-linter/hooks', id: 103884627, issues_url: 'https://api.github.com/orgs/cpp-linter/issues', login: 'cpp-linter', members_url: 'https://api.github.com/orgs/cpp-linter/members{/member}', node_id: 'O_kgDOBjEnUw', public_members_url: 'https://api.github.com/orgs/cpp-linter/public_members{/member}', repos_url: 'https://api.github.com/orgs/cpp-linter/repos', url: 'https://api.github.com/orgs/cpp-linter' }, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/cpp-linter/cpp-linter-hooks/issues/41/comments' }, commits: { href: 'https://api.github.com/repos/cpp-linter/cpp-linter-hooks/pulls/41/commits' }, html: { href: 'https://github.com/cpp-linter/cpp-linter-hooks/pull/41' }, issue: { href: 'https://api.github.com/repos/cpp-linter/cpp-linter-hooks/issues/41' }, review_comment: { href: 'https://api.github.com/repos/cpp-linter/cpp-linter-hooks/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/cpp-linter/cpp-linter-hooks/pulls/41/comments' }, self: { href: 'https://api.github.com/repos/cpp-linter/cpp-linter-hooks/pulls/41' }, statuses: { href: 'https://api.github.com/repos/cpp-linter/cpp-linter-hooks/statuses/fafdfee271edd8dcda824f697964fc45a5a5c67f' } }, active_lock_reason: null, additions: 7, assignee: null, assignees: [], author_association: 'COLLABORATOR', auto_merge: null, base: { label: 'cpp-linter:main', ref: 'main', 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/cpp-linter/cpp-linter-hooks/{archive_format}{/ref}', archived: false, assignees_url: 'https://api.github.com/repos/cpp-linter/cpp-linter-hooks/assignees{/user}', blobs_url: 'https://api.github.com/repos/cpp-linter/cpp-linter-hooks/git/blobs{/sha}', branches_url: 'https://api.github.com/repos/cpp-linter/cpp-linter-hooks/branches{/branch}', clone_url: 'https://github.com/cpp-linter/cpp-linter-hooks.git', collaborators_url: 'https://api.github.com/repos/cpp-linter/cpp-linter-hooks/collaborators{/collaborator}', comments_url: 'https://api.github.com/repos/cpp-linter/cpp-linter-hooks/comments{/number}', commits_url: 'https://api.github.com/repos/cpp-linter/cpp-linter-hooks/commits{/sha}', compare_url: 'https://api.github.com/repos/cpp-linter/cpp-linter-hooks/compare/{base}...{head}', contents_url: 'https://api.github.com/repos/cpp-linter/cpp-linter-hooks/contents/{+path}', contributors_url: 'https://api.github.com/repos/cpp-linter/cpp-linter-hooks/contributors', created_at: '2022-06-13T08:00:00Z', defa