pkg: Publish to npm #24
npm-publish.yaml
on: workflow_dispatch
Publish to npm
49s
Annotations
2 errors
Publish to npm
Validation Failed: {"resource":"Release","code":"custom","field":"pre_receive","message":"pre_receive protected tag 'v0.9.0' check failed:\n You're not authorized to create a tag"}, {"resource":"Release","code":"custom","message":"Published releases must have a valid tag"}
{
name: 'HttpError',
id: '9135713753',
status: 422,
response: {
url: 'https://api.github.com/repos/joggrdocs/tempo/releases/156345969',
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': '383',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Sat, 18 May 2024 00:19:01 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-github-permissions': 'contents=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': '2C83:E20E4:2F56C:2FCAA:6647F3F5',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4959',
'x-ratelimit-reset': '1715991965',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '41',
'x-xss-protection': '0'
},
data: {
message: 'Validation Failed',
errors: [
{
resource: 'Release',
code: 'custom',
field: 'pre_receive',
message: "pre_receive protected tag 'v0.9.0' check failed:\n" +
" You're not authorized to create a tag"
},
{
resource: 'Release',
code: 'custom',
message: 'Published releases must have a valid tag'
}
],
documentation_url: 'https://docs.github.com/rest/releases/releases#update-a-release'
}
},
request: {
method: 'PATCH',
url: 'https://api.github.com/repos/joggrdocs/tempo/releases/156345969',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.8.1 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"body":"## Changes\\n\\n- 🦄 feature: Add `TempoText` for Links, Cleanup APIs and add in support for Alerts @zrosenbauer (#148)\\n- 🧰 chore: Upgrade Packages @zrosenbauer (#131)\\n\\n## 🧰 Chore\\n\\n- 🧰 chore: Ops updates - including new labels, build and publish flow @zrosenbauer (#149)\\n\\n## Contributors\\n\\n@*** and @zrosenbauer\\n","draft":false,"prerelease":false,"make_latest":"true","name":"v0.9.0","tag_name":"v0.9.0","target_commitish":"refs/heads/main"}',
request: {}
},
event: {
id: '9135713753',
name: 'workflow_dispatch',
payload: {
inputs: { version: 'minor' },
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/52587745?v=4',
description: 'Documentation built for developers.',
events_url: 'https://api.github.com/orgs/joggrdocs/events',
hooks_url: 'https://api.github.com/orgs/joggrdocs/hooks',
id: 52587745,
issues_url: 'https://api.github.com/orgs/joggrdocs/issues',
login: 'joggrdocs',
members_url: 'https://api.github.com/orgs/joggrdocs/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjUyNTg3NzQ1',
public_members_url: 'https://api.github.com/orgs/joggrdocs/public_members{/member}',
repos_url: 'https://api.github.com/orgs/joggrdocs/repos',
url: 'https://api.github.com/o
|
Publish to npm
HttpError: Validation Failed: {"resource":"Release","code":"custom","field":"pre_receive","message":"pre_receive protected tag 'v0.9.0' check failed:/n You're not authorized to create a tag"}, {"resource":"Release","code":"custom","message":"Published releases must have a valid tag"}
at /home/runner/work/_actions/toolmantim/release-drafter/v6/dist/index.js:8462:21
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Job.doExecute (/home/runner/work/_actions/toolmantim/release-drafter/v6/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '9135713753',
name: 'workflow_dispatch',
payload: {
inputs: { version: 'minor' },
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/52587745?v=4',
description: 'Documentation built for developers.',
events_url: 'https://api.github.com/orgs/joggrdocs/events',
hooks_url: 'https://api.github.com/orgs/joggrdocs/hooks',
id: 52587745,
issues_url: 'https://api.github.com/orgs/joggrdocs/issues',
login: 'joggrdocs',
members_url: 'https://api.github.com/orgs/joggrdocs/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjUyNTg3NzQ1',
public_members_url: 'https://api.github.com/orgs/joggrdocs/public_members{/member}',
repos_url: 'https://api.github.com/orgs/joggrdocs/repos',
url: 'https://api.github.com/orgs/joggrdocs'
},
ref: 'refs/heads/main',
repository: {
allow_forking: true,
archive_url: 'https://api.github.com/repos/joggrdocs/tempo/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/joggrdocs/tempo/assignees{/user}',
blobs_url: 'https://api.github.com/repos/joggrdocs/tempo/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/joggrdocs/tempo/branches{/branch}',
clone_url: 'https://github.com/joggrdocs/tempo.git',
collaborators_url: 'https://api.github.com/repos/joggrdocs/tempo/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/joggrdocs/tempo/comments{/number}',
commits_url: 'https://api.github.com/repos/joggrdocs/tempo/commits{/sha}',
compare_url: 'https://api.github.com/repos/joggrdocs/tempo/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/joggrdocs/tempo/contents/{+path}',
contributors_url: 'https://api.github.com/repos/joggrdocs/tempo/contributors',
created_at: '2023-07-07T22:11:54Z',
custom_properties: {},
default_branch: 'main',
deployments_url: 'https://api.github.com/repos/joggrdocs/tempo/deployments',
description: 'Programmatically create Markdown documents.',
disabled: false,
downloads_url: 'https://api.github.com/repos/joggrdocs/tempo/downloads',
events_url: 'https://api.github.com/repos/joggrdocs/tempo/events',
fork: false,
forks: 1,
forks_count: 1,
forks_url: 'https://api.github.com/repos/joggrdocs/tempo/forks',
full_name: 'joggrdocs/tempo',
git_commits_url: 'https://api.github.com/repos/joggrdocs/tempo/git/commits{/sha}',
git_refs_url: 'https://api.github.com/repos/joggrdocs/tempo/git/refs{/sha}',
git_tags_url: 'https://api.github.com/repos/joggrdocs/tempo/git/tags{/sha}',
git_url: 'git://github.com/joggrdocs/tempo.git',
has_discussions: false,
has_downloads: true,
has_issues: true,
has_pages: false,
has_projects: true,
has_wiki: false,
homepage: 'https://www.npmjs.com/package/@joggr/tempo',
hooks_url: 'https://api.github.com/repos/joggrdocs/tempo/hooks',
html_url: 'https://github.com/joggrdocs/tempo',
id: 663690297,
is_template: false,
issue_comment_url: 'https://api.github.com/repos/joggrdocs/tempo/issues/comments{/number}',
issue_events_url: 'https://api.github.com/repos/joggrdocs/tempo/issues/events{/number}',
issues_ur
|