Skip to content

Fix GitHub Actions Workflow Failure Due to Bad Credentials #116

Fix GitHub Actions Workflow Failure Due to Bad Credentials

Fix GitHub Actions Workflow Failure Due to Bad Credentials #116

Triggered via pull request January 1, 2024 22:05
Status Success
Total duration 14s
Artifacts

release-drafter.yml

on: pull_request
update_release_draft
3s
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: '7380228513', 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: 'Mon, 01 Jan 2024 22:05:44 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': '300E:3012:55AE887:B5801F3:65933738', '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': '4335', 'x-ratelimit-reset': '1704146852', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '665', '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/90/merge"}', request: {} }, event: { id: '7380228513', name: 'pull_request', payload: { action: 'opened', number: 90, 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' },
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: '7380228513', name: 'pull_request', payload: { action: 'opened', number: 90, 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/90/comments' }, commits: { href: 'https://api.github.com/repos/openim-sigs/component-base/pulls/90/commits' }, html: { href: 'https://github.com/openim-sigs/component-base/pull/90' }, issue: { href: 'https://api.github.com/repos/openim-sigs/component-base/issues/90' }, 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/90/comments' }, self: { href: 'https://api.github.com/repos/openim-sigs/component-base/pulls/90' }, statuses: { href: 'https://api.github.com/repos/openim-sigs/component-base/statuses/3f49f280122a01f52603f654f3e209ef17c303cf' } }, active_lock_reason: null, additions: 1, 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:/