Skip to content

feat: Add StringGitRef rule #180

feat: Add StringGitRef rule

feat: Add StringGitRef rule #180

Triggered via pull request October 17, 2024 19:53
Status Success
Total duration 16s
Artifacts

release-drafter.yml

on: pull_request
update_release_draft
6s
update_release_draft
Fit to window
Zoom out
Zoom in

Annotations

2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} { name: 'HttpError', id: '11392052228', status: 422, response: { url: 'https://api.github.com/repos/nobl9/govy/releases/179582682', 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 19:53:20 GMT', 'github-authentication-token-expiration': '2025-08-02 00:00:00 +0200', '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': '3C88:46770:6A9B62:CB74CD:67116B30', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4939', 'x-ratelimit-reset': '1729196674', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '61', '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/nobl9/govy/releases/179582682', 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## 🚀 Features\\n\\n- feat: Add benchmarks (#32) @nieomylnieja\\n- feat: Support validating slices of objects (#30) @nieomylnieja\\n\\n## 🧰 Maintenance\\n\\n- chore: Update dependency cspell to v8.15.3 (#34) @renovate\\n- chore: Update dependency cspell to v8.15.1 (#31) @renovate\\n- chore: Update dependency yaml to v2.6.0 (#33) @renovate\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v0.5.0","tag_name":"v0.5.0","target_commitish":"refs/pull/35/merge"}`, request: {} }, event: { id: '11392052228', name: 'pull_request', payload: { action: 'opened', number: 35, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/58781264?v=4', description: '', events_url: 'https://api.github.com/orgs/nobl9/events', hooks_url: 'https://api.github.com/orgs/nobl9/hooks', id: 58781264, issues_url: 'https://api.github.com/orgs/nobl9/issues', login: 'nobl9', members_url: 'https://api.github.com/orgs/nobl9/members{/member}', node_id: 'MDEyOk9yZ2FuaXphdGlvbjU4NzgxMjY0', public_members_url: 'https://api.github.com/orgs/nobl9/public_members{/member}', repos_url: 'https://api.github.com/orgs/nobl9/repos', url: 'https://api.github.com/orgs/nobl9' }, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/nobl9/govy/issues/35/comments' }, commits: { href: 'https://api.github.com/repos/nobl9/govy/pulls/35/commits' }, html: { href: 'https://github.com/nobl9/govy/pull/35' }, issue: { href: 'https://a
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: '11392052228', name: 'pull_request', payload: { action: 'opened', number: 35, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/58781264?v=4', description: '', events_url: 'https://api.github.com/orgs/nobl9/events', hooks_url: 'https://api.github.com/orgs/nobl9/hooks', id: 58781264, issues_url: 'https://api.github.com/orgs/nobl9/issues', login: 'nobl9', members_url: 'https://api.github.com/orgs/nobl9/members{/member}', node_id: 'MDEyOk9yZ2FuaXphdGlvbjU4NzgxMjY0', public_members_url: 'https://api.github.com/orgs/nobl9/public_members{/member}', repos_url: 'https://api.github.com/orgs/nobl9/repos', url: 'https://api.github.com/orgs/nobl9' }, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/nobl9/govy/issues/35/comments' }, commits: { href: 'https://api.github.com/repos/nobl9/govy/pulls/35/commits' }, html: { href: 'https://github.com/nobl9/govy/pull/35' }, issue: { href: 'https://api.github.com/repos/nobl9/govy/issues/35' }, review_comment: { href: 'https://api.github.com/repos/nobl9/govy/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/nobl9/govy/pulls/35/comments' }, self: { href: 'https://api.github.com/repos/nobl9/govy/pulls/35' }, statuses: { href: 'https://api.github.com/repos/nobl9/govy/statuses/1f3e9c149b15272dbf86d96688aed6db0ec73f95' } }, active_lock_reason: null, additions: 176, assignee: null, assignees: [], author_association: 'COLLABORATOR', auto_merge: null, base: { label: 'nobl9:main', ref: 'main', repo: { allow_auto_merge: true, allow_forking: true, allow_merge_commit: true, allow_rebase_merge: false, allow_squash_merge: true, allow_update_branch: true, archive_url: 'https://api.github.com/repos/nobl9/govy/{archive_format}{/ref}', archived: false, assignees_url: 'https://api.github.com/repos/nobl9/govy/assignees{/user}', blobs_url: 'https://api.github.com/repos/nobl9/govy/git/blobs{/sha}', branches_url: 'https://api.github.com/repos/nobl9/govy/branches{/branch}', clone_url: 'https://github.com/nobl9/govy.git', collaborators_url: 'https://api.github.com/repos/nobl9/govy/collaborators{/collaborator}', comments_url: 'https://api.github.com/repos/nobl9/govy/comments{/number}', commits_url: 'https://api.github.com/repos/nobl9/govy/commits{/sha}', compare_url: 'https://api.github.com/repos/nobl9/govy/compare/{base}...{head}', contents_url: 'https://api.github.com/repos/nobl9/govy/contents/{+path}', contributors_url: 'https://api.github.com/repos/nobl9/govy/contributors', created_at: '2024-08-02T06:38:33Z', default_branch: 'main', delete_branch_on_merge: true, deployments_url: 'https://api.github.com/repos/nobl9/govy/deployments', description: 'Go validation library with functional API built on top of generics, statically typed and batteries included :fire:', disabled: false, downloads_url: 'https://api.github.com/repos/nobl9/govy/downloads', events_url: 'https://api.github.com/r