Skip to content

feat: Add location information to lexed tokens and expand filter error messages to take advantage of it #144

feat: Add location information to lexed tokens and expand filter error messages to take advantage of it

feat: Add location information to lexed tokens and expand filter error messages to take advantage of it #144

Triggered via pull request August 7, 2024 23:39
Status Success
Total duration 15s
Artifacts

changelog.yml

on: pull_request
Prepare
5s
Prepare
Fit to window
Zoom out
Zoom in

Annotations

2 errors
Prepare
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} { name: 'HttpError', id: '10293327441', status: 422, response: { url: 'https://api.github.com/repos/SierraSoftworks/github-backup/releases/168983763', 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: 'Wed, 07 Aug 2024 23:40:02 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': '28C7:24BEA1:166D1FEE:29F38ED5:66B405D2', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4928', 'x-ratelimit-reset': '1723076562', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '72', '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/SierraSoftworks/github-backup/releases/168983763', 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":"## What's Changed\\n\\n### Maintenance\\n\\n- chore(deps): Bump tempfile from 3.11.0 to 3.12.0 @dependabot (#39)\\n","draft":true,"prerelease":false,"make_latest":"true","name":"Version 3.0.3","tag_name":"v3.0.3","target_commitish":"refs/pull/40/merge"}`, request: {} }, event: { id: '10293327441', name: 'pull_request', payload: { action: 'synchronize', after: 'dfac53b0441ff850b895d0aada1387ceb6722d0b', before: 'f918d23f17f7dc8fa6ba6393479893528154fe92', number: 40, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/5012716?v=4', description: "We're a group of people with a passion for software development and extensive experience on both the development and operations side of large scale systems.", events_url: 'https://api.github.com/orgs/SierraSoftworks/events', hooks_url: 'https://api.github.com/orgs/SierraSoftworks/hooks', id: 5012716, issues_url: 'https://api.github.com/orgs/SierraSoftworks/issues', login: 'SierraSoftworks', members_url: 'https://api.github.com/orgs/SierraSoftworks/members{/member}', node_id: 'MDEyOk9yZ2FuaXphdGlvbjUwMTI3MTY=', public_members_url: 'https://api.github.com/orgs/SierraSoftworks/public_members{/member}', repos_url: 'https://api.github.com/orgs/SierraSoftworks/repos', url: 'https://api.github.com/orgs/SierraSoftworks' }, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/SierraSoftworks/github-backup/issues/40/comments' }, commits: { href: 'https://api.github.com/repos/SierraSoftworks/github-backup/pulls/40/commits'
Prepare
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} at /home/runner/work/_actions/release-drafter/release-drafter/v6.0.0/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.0.0/dist/index.js:30793:18) { name: 'AggregateError', event: { id: '10293327441', name: 'pull_request', payload: { action: 'synchronize', after: 'dfac53b0441ff850b895d0aada1387ceb6722d0b', before: 'f918d23f17f7dc8fa6ba6393479893528154fe92', number: 40, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/5012716?v=4', description: "We're a group of people with a passion for software development and extensive experience on both the development and operations side of large scale systems.", events_url: 'https://api.github.com/orgs/SierraSoftworks/events', hooks_url: 'https://api.github.com/orgs/SierraSoftworks/hooks', id: 5012716, issues_url: 'https://api.github.com/orgs/SierraSoftworks/issues', login: 'SierraSoftworks', members_url: 'https://api.github.com/orgs/SierraSoftworks/members{/member}', node_id: 'MDEyOk9yZ2FuaXphdGlvbjUwMTI3MTY=', public_members_url: 'https://api.github.com/orgs/SierraSoftworks/public_members{/member}', repos_url: 'https://api.github.com/orgs/SierraSoftworks/repos', url: 'https://api.github.com/orgs/SierraSoftworks' }, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/SierraSoftworks/github-backup/issues/40/comments' }, commits: { href: 'https://api.github.com/repos/SierraSoftworks/github-backup/pulls/40/commits' }, html: { href: 'https://github.com/SierraSoftworks/github-backup/pull/40' }, issue: { href: 'https://api.github.com/repos/SierraSoftworks/github-backup/issues/40' }, review_comment: { href: 'https://api.github.com/repos/SierraSoftworks/github-backup/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/SierraSoftworks/github-backup/pulls/40/comments' }, self: { href: 'https://api.github.com/repos/SierraSoftworks/github-backup/pulls/40' }, statuses: { href: 'https://api.github.com/repos/SierraSoftworks/github-backup/statuses/dfac53b0441ff850b895d0aada1387ceb6722d0b' } }, active_lock_reason: null, additions: 344, assignee: null, assignees: [], author_association: 'MEMBER', auto_merge: null, base: { label: 'SierraSoftworks: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: false, archive_url: 'https://api.github.com/repos/SierraSoftworks/github-backup/{archive_format}{/ref}', archived: false, assignees_url: 'https://api.github.com/repos/SierraSoftworks/github-backup/assignees{/user}', blobs_url: 'https://api.github.com/repos/SierraSoftworks/github-backup/git/blobs{/sha}', branches_url: 'https://api.github.com/repos/SierraSoftworks/github-backup/branches{/branch}', clone_url: 'https://github.com/SierraSoftworks/github-backup.git', collaborators_url: 'https://api.github.com/repos/SierraSoftworks/github-backup/collaborators{/collaborator}', comments_url: 'https://api.github.com/repos/SierraSoftworks/github-backup/comments{/number}', commits_url: 'https://api.github.com/repos/SierraSoftworks/github-backup/commits{/sha}', compare_url: 'https://api.g