Refactor sync PR labels workflow #58
release-drafter.yml
on: pull_request
update_release_draft
12s
Annotations
2 errors and 5 warnings
|
update_release_draft
HttpError: Resource not accessible by integration
at /home/runner/work/_actions/release-drafter/release-drafter/v6/dist/index.js:7146: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:56365:18)
{
name: 'AggregateError',
event: {
id: '23772613217',
name: 'pull_request',
payload: {
action: 'closed',
number: 113,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/38881995?v=4',
description: '',
events_url: 'https://api.github.com/orgs/AOSSIE-Org/events',
hooks_url: 'https://api.github.com/orgs/AOSSIE-Org/hooks',
id: 38881995,
issues_url: 'https://api.github.com/orgs/AOSSIE-Org/issues',
login: 'AOSSIE-Org',
members_url: 'https://api.github.com/orgs/AOSSIE-Org/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjM4ODgxOTk1',
public_members_url: 'https://api.github.com/orgs/AOSSIE-Org/public_members{/member}',
repos_url: 'https://api.github.com/orgs/AOSSIE-Org/repos',
url: 'https://api.github.com/orgs/AOSSIE-Org'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/AOSSIE-Org/Template-Repo/issues/113/comments'
},
commits: {
href: 'https://api.github.com/repos/AOSSIE-Org/Template-Repo/pulls/113/commits'
},
html: {
href: 'https://github.com/AOSSIE-Org/Template-Repo/pull/113'
},
issue: {
href: 'https://api.github.com/repos/AOSSIE-Org/Template-Repo/issues/113'
},
review_comment: {
href: 'https://api.github.com/repos/AOSSIE-Org/Template-Repo/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/AOSSIE-Org/Template-Repo/pulls/113/comments'
},
self: {
href: 'https://api.github.com/repos/AOSSIE-Org/Template-Repo/pulls/113'
},
statuses: {
href: 'https://api.github.com/repos/AOSSIE-Org/Template-Repo/statuses/76a3816d49f62445052767f8487fbd2767f2b46e'
}
},
active_lock_reason: null,
additions: 140,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: null,
base: {
label: 'AOSSIE-Org:main',
ref: 'main',
repo: {
allow_auto_merge: false,
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/AOSSIE-Org/Template-Repo/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/AOSSIE-Org/Template-Repo/assignees{/user}',
blobs_url: 'https://api.github.com/repos/AOSSIE-Org/Template-Repo/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/AOSSIE-Org/Template-Repo/branches{/branch}',
clone_url: 'https://github.com/AOSSIE-Org/Template-Repo.git',
collaborators_url: 'https://api.github.com/repos/AOSSIE-Org/Template-Repo/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/AOSSIE-Org/Template-Repo/comments{/number}',
commits_url: 'https://api.github.com/repos/AOSSIE-Org/Template-Repo/commits{/sha}',
compare_url: 'https://api.github.com/repos/AOSSIE-Org/Template-Repo/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/AOSSIE-Org/Template-Repo/contents/{+path}',
contributors_url: 'https://api.github.com/repos/AOSSIE-Org/Template-Repo/contributors',
created_at: '2025-12-23T03:54:46Z',
default_branch: 'main',
delete_branch_on_merge: false,
deployments_url: 'https://api.githu
|
|
update_release_draft
Resource not accessible by integration
{
name: 'HttpError',
id: '23772613217',
status: 403,
response: {
url: 'https://api.github.com/repos/AOSSIE-Org/Template-Repo/releases',
status: 403,
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',
'content-encoding': 'gzip',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Mon, 30 Mar 2026 23:25:10 GMT',
'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
server: 'github.com',
'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
'transfer-encoding': 'chunked',
vary: 'Accept-Encoding, Accept, X-Requested-With',
'x-accepted-github-permissions': 'contents=write; contents=write,workflows=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': '5829:263345:D52F87:368AAF6:69CB0655',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4981',
'x-ratelimit-reset': '1774916615',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '19',
'x-xss-protection': '0'
},
data: {
message: 'Resource not accessible by integration',
documentation_url: 'https://docs.github.com/rest/releases/releases#create-a-release',
status: '403'
}
},
request: {
method: 'POST',
url: 'https://api.github.com/repos/AOSSIE-Org/Template-Repo/releases',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.4.0 octokit-core.js/3.6.0 Node.js/20.20.1 (linux; x64)',
'x-github-delivery': '23772613217',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: `{"target_commitish":"refs/heads/main","name":"v0.1.0","tag_name":"v0.1.0","body":"## What's Changed\\n\\n- add issue template @kpj2006 (#3)\\n- add sync-pr-labels @kpj2006 (#6)\\n- update @kpj2006 (#2)\\n\\n## 📝 Documentation\\n\\n- Fix YouTube badge image tag formatting in README.md @rahul-vyas-dev (#80)\\n- Update CONTRIBUTING.md with review and issue guidelines @imxade (#83)\\n- Add Coding with AI Section @M4dhav (#57)\\n- add error and steps @kpj2006 (#49)\\n- Feat/add youtube link @rahul-vyas-dev (#77)\\n- add pr template @kpj2006 (#14)\\n\\n## 🔧 Configuration\\n\\n- Add dependency review workflow to scan for license violations and CVEs @kpj2006 (#105)\\n- Add workflow to mark stale issues and pull requests @kpj2006 (#101)\\n- Add template sync workflow for automated repository synchronization @kpj2006 (#74)\\n- Refactor CodeRabbit approval handler to use external labeller token f… @kpj2006 (#70)\\n- try using another api for checking @kpj2006 (#53)\\n- Add automated merge conflict labeling workflow @dhruvi-16-me (#68)\\n- Add CodeRabbit approval handler and sync PR labels for review status @kpj2006 (#64)\\n- Enhance CodeRabbit Solidity Review Instructions for Smart Contract Governance @kumawatkaran523 (#61)\\n- Add triage @kpj2006 (#51)\\n- add centralized version file @kpj2006 (#52)\\n- pre-commit @kpj2006 (#13)\\n- pre-issue @kpj2006 (#15)\\n- add release drafter @kpj2006 (#4)\\n- add one more label @kpj2006 (#8)\\n\\n## 🚀 CI/CD\\n\\n- Add dependency review workflow to scan for license violations and CVEs @kpj2006 (#105)\\n- Add workflow to mark stale issues and pull requests @kpj2006 (#101)\\n- Add template sync workflow for automated repository synchronization @kpj2006 (#74)\\n- Refactor CodeRabbit approval handler to use external labeller token f… @kpj2006 (#70)\\n- try using another api for checking
|
|
update_release_draft
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: release-drafter/release-drafter@v6. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
update_release_draft
"pull_request_target.edited" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
|
update_release_draft
"pull_request_target.synchronize" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
|
update_release_draft
"pull_request_target.reopened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
|
update_release_draft
"pull_request_target.opened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|