Fix Bad Credentials Error in GitHub Actions #106
Annotations
2 errors
Run release-drafter/release-drafter@v5
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '7374582608',
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 03:20:49 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': '5436:541D:4355D60:8ECACEB:65922F91',
'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': '4321',
'x-ratelimit-reset': '1704082163',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '679',
'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/80/merge"}',
request: {}
},
event: {
id: '7374582608',
name: 'pull_request',
payload: {
action: 'opened',
number: 80,
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'
},
|
Run release-drafter/release-drafter@v5
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: '7374582608',
name: 'pull_request',
payload: {
action: 'opened',
number: 80,
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/80/comments'
},
commits: {
href: 'https://api.github.com/repos/openim-sigs/component-base/pulls/80/commits'
},
html: {
href: 'https://github.com/openim-sigs/component-base/pull/80'
},
issue: {
href: 'https://api.github.com/repos/openim-sigs/component-base/issues/80'
},
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/80/comments'
},
self: {
href: 'https://api.github.com/repos/openim-sigs/component-base/pulls/80'
},
statuses: {
href: 'https://api.github.com/repos/openim-sigs/component-base/statuses/9e6877e2f31251d72f38d38271eef3afe659c738'
}
},
active_lock_reason: null,
additions: 11,
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:
|
The logs for this run have expired and are no longer available.
Loading