更新测试和README #1
Annotations
3 errors and 1 warning
publish-pypi-github
Trusted publishing exchange failure:
Token request failed: the server refused the request for the following reasons:
* `invalid-publisher`: valid token, but no corresponding publisher (All lookup strategies exhausted)
This generally indicates a trusted publisher configuration error, but could
also indicate an internal error on GitHub or PyPI's part.
The claims rendered below are **for debugging purposes only**. You should **not**
use them to configure a trusted publisher unless they already match your expectations.
If a claim is not present in the claim set, then it is rendered as `MISSING`.
* `sub`: `repo:bot-ssttkkl/nonebot-plugin-mahjong-scoreboard:environment:release`
* `repository`: `bot-ssttkkl/nonebot-plugin-mahjong-scoreboard`
* `repository_owner`: `bot-ssttkkl`
* `repository_owner_id`: `135199217`
* `job_workflow_ref`: `bot-ssttkkl/nonebot-plugin-mahjong-scoreboard/.github/workflows/release.yml@refs/tags/v0.7.0`
* `ref`: `refs/tags/v0.7.0`
See https://docs.pypi.org/trusted-publishers/troubleshooting/ for more help.
|
publish-pypi-github
Validation Failed: {"resource":"Release","code":"already_exists","field":"tag_name"}
{
name: 'HttpError',
id: '11419082417',
status: 422,
response: {
url: 'https://api.github.com/repos/bot-ssttkkl/nonebot-plugin-mahjong-scoreboard/releases',
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': '209',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Sat, 19 Oct 2024 16:30:51 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; 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': '2453:220D2E:19DCD83:3239D04:6713DEBB',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4997',
'x-ratelimit-reset': '1729359049',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '3',
'x-xss-protection': '0'
},
data: {
message: 'Validation Failed',
errors: [
{
resource: 'Release',
code: 'already_exists',
field: 'tag_name'
}
],
documentation_url: 'https://docs.github.com/rest/releases/releases#create-a-release',
status: '422'
}
},
request: {
method: 'POST',
url: 'https://api.github.com/repos/bot-ssttkkl/nonebot-plugin-mahjong-scoreboard/releases',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.13.1 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"target_commitish":"","name":"Release v0.7.0","tag_name":"v0.7.0","body":"## What’s Changed\\n\\n* No changes\\n","draft":false,"prerelease":false,"make_latest":"true"}',
request: {}
},
event: {
id: '11419082417',
name: 'push',
payload: {
after: '9f14c5ac1f3497c83eac507cf4418844a0aaf7f6',
base_ref: 'refs/heads/master',
before: '0000000000000000000000000000000000000000',
commits: [],
compare: 'https://github.com/bot-ssttkkl/nonebot-plugin-mahjong-scoreboard/compare/v0.7.0',
created: true,
deleted: false,
forced: false,
head_commit: {
author: {
email: 'huang.wen.long@hotmail.com',
name: 'ssttkkl',
username: 'ssttkkl'
},
committer: {
email: 'huang.wen.long@hotmail.com',
name: 'ssttkkl',
username: 'ssttkkl'
},
distinct: true,
id: '9f14c5ac1f3497c83eac507cf4418844a0aaf7f6',
message: '更新测试和README',
timestamp: '2024-10-20T00:29:38+08:00',
tree_id: '445114b5b41c4fd5da23e0520b2e6accb6868999',
url: 'https://github.com/bot-ssttkkl/nonebot-plugin-mahjong-scoreboard/commit/9f14c5ac1f3497c83eac507cf4418844a0aaf7f6'
},
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/135199217?v=4',
description: null,
events_url: 'https://api.github.com/orgs/bot-ssttkkl/events',
hooks_url: 'https://api.github.com/orgs/bot-ssttkkl/hooks',
id: 135199217,
issues_url: 'https://api.github.com/orgs/bot-ssttkkl/issues',
login: 'bot-ssttkkl',
members_url: 'https://api.github.com/orgs/bot-ssttkkl/members{/member}
|
publish-pypi-github
HttpError: Validation Failed: {"resource":"Release","code":"already_exists","field":"tag_name"}
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: '11419082417',
name: 'push',
payload: {
after: '9f14c5ac1f3497c83eac507cf4418844a0aaf7f6',
base_ref: 'refs/heads/master',
before: '0000000000000000000000000000000000000000',
commits: [],
compare: 'https://github.com/bot-ssttkkl/nonebot-plugin-mahjong-scoreboard/compare/v0.7.0',
created: true,
deleted: false,
forced: false,
head_commit: {
author: {
email: 'huang.wen.long@hotmail.com',
name: 'ssttkkl',
username: 'ssttkkl'
},
committer: {
email: 'huang.wen.long@hotmail.com',
name: 'ssttkkl',
username: 'ssttkkl'
},
distinct: true,
id: '9f14c5ac1f3497c83eac507cf4418844a0aaf7f6',
message: '更新测试和README',
timestamp: '2024-10-20T00:29:38+08:00',
tree_id: '445114b5b41c4fd5da23e0520b2e6accb6868999',
url: 'https://github.com/bot-ssttkkl/nonebot-plugin-mahjong-scoreboard/commit/9f14c5ac1f3497c83eac507cf4418844a0aaf7f6'
},
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/135199217?v=4',
description: null,
events_url: 'https://api.github.com/orgs/bot-ssttkkl/events',
hooks_url: 'https://api.github.com/orgs/bot-ssttkkl/hooks',
id: 135199217,
issues_url: 'https://api.github.com/orgs/bot-ssttkkl/issues',
login: 'bot-ssttkkl',
members_url: 'https://api.github.com/orgs/bot-ssttkkl/members{/member}',
node_id: 'O_kgDOCA758Q',
public_members_url: 'https://api.github.com/orgs/bot-ssttkkl/public_members{/member}',
repos_url: 'https://api.github.com/orgs/bot-ssttkkl/repos',
url: 'https://api.github.com/orgs/bot-ssttkkl'
},
pusher: { email: 'huang.wen.long@hotmail.com', name: 'ssttkkl' },
ref: 'refs/tags/v0.7.0',
repository: {
allow_forking: true,
archive_url: 'https://api.github.com/repos/bot-ssttkkl/nonebot-plugin-mahjong-scoreboard/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/bot-ssttkkl/nonebot-plugin-mahjong-scoreboard/assignees{/user}',
blobs_url: 'https://api.github.com/repos/bot-ssttkkl/nonebot-plugin-mahjong-scoreboard/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/bot-ssttkkl/nonebot-plugin-mahjong-scoreboard/branches{/branch}',
clone_url: 'https://github.com/bot-ssttkkl/nonebot-plugin-mahjong-scoreboard.git',
collaborators_url: 'https://api.github.com/repos/bot-ssttkkl/nonebot-plugin-mahjong-scoreboard/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/bot-ssttkkl/nonebot-plugin-mahjong-scoreboard/comments{/number}',
commits_url: 'https://api.github.com/repos/bot-ssttkkl/nonebot-plugin-mahjong-scoreboard/commits{/sha}',
compare_url: 'https://api.github.com/repos/bot-ssttkkl/nonebot-plugin-mahjong-scoreboard/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/bot-ssttkkl/nonebot-plugin-mahjong-scoreboard/contents/{+path}',
contributors_url: 'https://api.github.com/repos/bot-ssttkkl/nonebot-plugin-mahjong-scoreboard/contributors',
created_at: 1661305632,
custom_properties: {},
default_branch: 'master',
deployments_url: 'https://api.github.com/repos/bot-ssttkkl/nonebot-plugin-mahjong-scoreboard/deployments',
description: '日麻计分器。为面麻群友提供日麻对局分数记录。根据马点进行PT精算,统计PT增减,支持对局与榜单查询与导出。',
disabled: false,
downloads_url: 'https://api.github.com/repos/bot-ssttkkl/nonebot-plugin-mahjong-scoreboard/downloads',
ev
|
publish-pypi-github
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v3, release-drafter/release-drafter@v5. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|