Skip to content

Fix GitHub Actions Authentication Issue #98

Fix GitHub Actions Authentication Issue

Fix GitHub Actions Authentication Issue #98

Triggered via pull request December 31, 2023 17:04
Status Success
Total duration 17s
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: '7371719585', status: 422, response: { url: 'https://api.github.com/repos/openim-sigs/component-base/releases/119776852', 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, 31 Dec 2023 17:04:43 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-oauth-scopes': 'repo', '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': 'CC90:49A7:84C96D:8C017F:65919F2B', 'x-oauth-scopes': 'admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, codespace, copilot, notifications, project, repo, user, workflow, write:discussion, write:packages', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4327', 'x-ratelimit-reset': '1704042594', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '673', '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/openim-sigs/component-base/releases/119776852', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/16.20.2 (linux; x64)', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: '{"body":"## Changes \\n\\n- Fix GitHub Actions Failure Due to Bad Credentials @sweep-ai (#64)\\n- Fix GitHub Actions Failure Due to Bad Credentials @sweep-ai (#53)\\n- Fix GitHub Action Credentials Issue @sweep-ai (#42)\\n- feat: Refactoring component base @cubxxw (#2)\\n- feat: init project from openim @cubxxw (#1)\\n\\n## Contributors to this component-base\\trelease\\n\\n@cubxxw, @sweep-ai and @sweep-ai[bot]\\t\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v0.1.0 🌈","tag_name":"v0.1.0","target_commitish":"refs/pull/72/merge"}', request: {} }, event: { id: '7371719585', name: 'pull_request', payload: { action: 'opened', number: 72, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/139494448?v=4', description: 'OpenIM-SIG is a GitHub organization that focuses on open instant messaging (OpenIM) technologies and standards.', events_url: 'https://api.github.com/orgs/openim-sigs/events', hooks_url: 'https://api.github.com/orgs/openim-sigs/hooks', id: 139494448, issues_url: 'https://api.github.com/orgs/openim-sigs/issues', login: 'openim-sigs', members_url: 'https://api.github.com/orgs/openim-sigs/members{/member}', node_id: 'O_kgDOCFCEMA', public_members_url: 'https://api.github.com/orgs/openim-sigs/public_members{/member}', repos_url: 'https://api.github.com/orgs/openim-sigs/repos', url: 'https://api.github.com/orgs/openim-sigs' }, p
update_release_draft
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} at /home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:8462:21 at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:30793:18) { name: 'AggregateError', event: { id: '7371719585', name: 'pull_request', payload: { action: 'opened', number: 72, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/139494448?v=4', description: 'OpenIM-SIG is a GitHub organization that focuses on open instant messaging (OpenIM) technologies and standards.', events_url: 'https://api.github.com/orgs/openim-sigs/events', hooks_url: 'https://api.github.com/orgs/openim-sigs/hooks', id: 139494448, issues_url: 'https://api.github.com/orgs/openim-sigs/issues', login: 'openim-sigs', members_url: 'https://api.github.com/orgs/openim-sigs/members{/member}', node_id: 'O_kgDOCFCEMA', public_members_url: 'https://api.github.com/orgs/openim-sigs/public_members{/member}', repos_url: 'https://api.github.com/orgs/openim-sigs/repos', url: 'https://api.github.com/orgs/openim-sigs' }, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/openim-sigs/component-base/issues/72/comments' }, commits: { href: 'https://api.github.com/repos/openim-sigs/component-base/pulls/72/commits' }, html: { href: 'https://github.com/openim-sigs/component-base/pull/72' }, issue: { href: 'https://api.github.com/repos/openim-sigs/component-base/issues/72' }, review_comment: { href: 'https://api.github.com/repos/openim-sigs/component-base/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/openim-sigs/component-base/pulls/72/comments' }, self: { href: 'https://api.github.com/repos/openim-sigs/component-base/pulls/72' }, statuses: { href: 'https://api.github.com/repos/openim-sigs/component-base/statuses/21472b63dcccedad6054ce157bfdf1130c6c8147' } }, active_lock_reason: null, additions: 4, assignee: { avatar_url: 'https://avatars.githubusercontent.com/u/86140903?v=4', events_url: 'https://api.github.com/users/cubxxw/events{/privacy}', followers_url: 'https://api.github.com/users/cubxxw/followers', following_url: 'https://api.github.com/users/cubxxw/following{/other_user}', gists_url: 'https://api.github.com/users/cubxxw/gists{/gist_id}', gravatar_id: '', html_url: 'https://github.com/cubxxw', id: 86140903, login: 'cubxxw', node_id: 'MDQ6VXNlcjg2MTQwOTAz', organizations_url: 'https://api.github.com/users/cubxxw/orgs', received_events_url: 'https://api.github.com/users/cubxxw/received_events', repos_url: 'https://api.github.com/users/cubxxw/repos', site_admin: false, starred_url: 'https://api.github.com/users/cubxxw/starred{/owner}{/repo}', subscriptions_url: 'https://api.github.com/users/cubxxw/subscriptions', type: 'User', url: 'https://api.github.com/users/cubxxw' }, assignees: [ { avatar_url: 'https://avatars.githubusercontent.com/u/86140903?v=4', events_url: 'https://api.github.com/users/cubxxw/events{/privacy}', followers_url: 'https://api.github.com/users/cubxxw/followers', following_url: 'https://api.github.com/users/cubxxw/following{/other_user}', gists_url: 'https://api.github.com/users/cubxxw/gists{/gist_id}', gravatar_id: '', html_url: 'https:/