fix package publishing errors #174
release-cddl.yml
on: push
Matrix: compilation-check / Compilation check
Cargo publish dry run
28s
Compilation check for wasm target and npm publishing
1m 8s
Build website
1m 58s
Draft Release
4s
Annotations
2 errors
Draft Release
Resource not accessible by integration
{
name: 'HttpError',
id: '13771514302',
status: 403,
response: {
url: 'https://api.github.com/repos/anweiss/cddl/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',
connection: 'close',
'content-encoding': 'gzip',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Mon, 10 Mar 2025 18:01:30 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': '33C4:68EA0:664B1D:CD3BFF:67CF28FA',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4946',
'x-ratelimit-reset': '1741632882',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '54',
'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/anweiss/cddl/releases',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.18.0 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: `{"target_commitish":"refs/heads/main","name":"0.9.6","tag_name":"0.9.6","body":"## What's Changed\\n\\n* No changes\\n","draft":true,"prerelease":false,"make_latest":"true"}`,
request: {}
},
event: {
id: '13771514302',
name: 'push',
payload: {
after: 'ad4679b200e85d83a8cbe60192c334b66eb9dbd0',
base_ref: null,
before: 'b935d894308aa6c82400dc2b783304dddce260b0',
commits: [
{
author: {
email: '[email protected]',
name: 'anweiss',
username: 'anweiss'
},
committer: {
email: '[email protected]',
name: 'anweiss',
username: 'anweiss'
},
distinct: true,
id: 'ad4679b200e85d83a8cbe60192c334b66eb9dbd0',
message: 'fix package publishing errors',
timestamp: '2025-03-10T13:59:12-04:00',
tree_id: '07fdb956c4c7e2596447e08fbfaf5612dc437056',
url: 'https://github.com/anweiss/cddl/commit/ad4679b200e85d83a8cbe60192c334b66eb9dbd0'
}
],
compare: 'https://github.com/anweiss/cddl/compare/b935d894308a...ad4679b200e8',
created: false,
deleted: false,
forced: false,
head_commit: {
author: {
email: '[email protected]',
name: 'anweiss',
username: 'anweiss'
},
committer: {
email: '[email protected]',
name: 'anweiss',
username: 'anweiss'
},
distinct: true,
id: 'ad4679b200e85d83a8cbe60192c334b66eb9dbd0',
message: 'fix package publishing errors',
timestamp: '2025-03-10T13:59:12-04:00',
tree_id: '07fdb956c4c7e2596447e08fbfaf5612dc437056',
url: 'https://github.com/anweiss/cddl/commit/ad4679b200e85d83a8cbe6019
|
Draft Release
HttpError: Resource not accessible by integration
at /home/runner/work/_actions/release-drafter/release-drafter/v5/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/v5/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '13771514302',
name: 'push',
payload: {
after: 'ad4679b200e85d83a8cbe60192c334b66eb9dbd0',
base_ref: null,
before: 'b935d894308aa6c82400dc2b783304dddce260b0',
commits: [
{
author: {
email: '[email protected]',
name: 'anweiss',
username: 'anweiss'
},
committer: {
email: '[email protected]',
name: 'anweiss',
username: 'anweiss'
},
distinct: true,
id: 'ad4679b200e85d83a8cbe60192c334b66eb9dbd0',
message: 'fix package publishing errors',
timestamp: '2025-03-10T13:59:12-04:00',
tree_id: '07fdb956c4c7e2596447e08fbfaf5612dc437056',
url: 'https://github.com/anweiss/cddl/commit/ad4679b200e85d83a8cbe60192c334b66eb9dbd0'
}
],
compare: 'https://github.com/anweiss/cddl/compare/b935d894308a...ad4679b200e8',
created: false,
deleted: false,
forced: false,
head_commit: {
author: {
email: '[email protected]',
name: 'anweiss',
username: 'anweiss'
},
committer: {
email: '[email protected]',
name: 'anweiss',
username: 'anweiss'
},
distinct: true,
id: 'ad4679b200e85d83a8cbe60192c334b66eb9dbd0',
message: 'fix package publishing errors',
timestamp: '2025-03-10T13:59:12-04:00',
tree_id: '07fdb956c4c7e2596447e08fbfaf5612dc437056',
url: 'https://github.com/anweiss/cddl/commit/ad4679b200e85d83a8cbe60192c334b66eb9dbd0'
},
pusher: {
email: '[email protected]',
name: 'anweiss'
},
ref: 'refs/heads/main',
repository: {
allow_forking: true,
archive_url: 'https://api.github.com/repos/anweiss/cddl/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/anweiss/cddl/assignees{/user}',
blobs_url: 'https://api.github.com/repos/anweiss/cddl/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/anweiss/cddl/branches{/branch}',
clone_url: 'https://github.com/anweiss/cddl.git',
collaborators_url: 'https://api.github.com/repos/anweiss/cddl/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/anweiss/cddl/comments{/number}',
commits_url: 'https://api.github.com/repos/anweiss/cddl/commits{/sha}',
compare_url: 'https://api.github.com/repos/anweiss/cddl/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/anweiss/cddl/contents/{+path}',
contributors_url: 'https://api.github.com/repos/anweiss/cddl/contributors',
created_at: 1555344249,
default_branch: 'main',
deployments_url: 'https://api.github.com/repos/anweiss/cddl/deployments',
description: 'Concise data definition language (RFC 8610) implementation and JSON and CBOR validator in Rust',
disabled: false,
downloads_url: 'https://api.github.com/repos/anweiss/cddl/downloads',
events_url: 'https://api.github.com/repos/anweiss/cddl/events',
fork: false,
forks: 15,
forks_count: 15,
forks_url: 'https://api.github.com/repos/anweiss/cddl/forks',
full_name: 'anweiss/cddl',
git_commits_url: 'https://api.github.com/repos/anweiss/cddl/git/commits{/sha}',
git_refs_url: 'https://api.github.com/repos/anweiss/cddl/git/refs{/sha}',
git_tags_url: 'https://api.github.com/repos/anweiss/cddl/git/tags{/sha}',
|