Skip to content

添加单测

添加单测 #1

Triggered via push October 19, 2024 16:24
Status Failure
Total duration 51s
Artifacts

release.yml

on: push
Fit to window
Zoom out
Zoom in

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-escape-url:environment:release` * `repository`: `bot-ssttkkl/nonebot-plugin-escape-url` * `repository_owner`: `bot-ssttkkl` * `repository_owner_id`: `135199217` * `job_workflow_ref`: `bot-ssttkkl/nonebot-plugin-escape-url/.github/workflows/release.yml@refs/tags/v0.1.4` * `ref`: `refs/tags/v0.1.4` 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: '11419044848', status: 422, response: { url: 'https://api.github.com/repos/bot-ssttkkl/nonebot-plugin-escape-url/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:24:44 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': '8BC3:16F90F:85AE6F:101642F:6713DD4B', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4997', 'x-ratelimit-reset': '1729358682', '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-escape-url/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.1.4","tag_name":"v0.1.4","body":"## What’s Changed\\n\\n* No changes\\n","draft":false,"prerelease":false,"make_latest":"true"}', request: {} }, event: { id: '11419044848', name: 'push', payload: { after: '7d94b9c213ff1bfc7ee651dd4a4f3c329cb24ebe', base_ref: 'refs/heads/master', before: '0000000000000000000000000000000000000000', commits: [], compare: 'https://github.com/bot-ssttkkl/nonebot-plugin-escape-url/compare/v0.1.4', created: true, deleted: false, forced: false, head_commit: { author: { email: '[email protected]', name: 'ssttkkl', username: 'ssttkkl' }, committer: { email: '[email protected]', name: 'ssttkkl', username: 'ssttkkl' }, distinct: true, id: '7d94b9c213ff1bfc7ee651dd4a4f3c329cb24ebe', message: '添加单测', timestamp: '2024-10-20T00:22:51+08:00', tree_id: '2e42b9943ab43636fcc34d668a8435ff4114c1f6', url: 'https://github.com/bot-ssttkkl/nonebot-plugin-escape-url/commit/7d94b9c213ff1bfc7ee651dd4a4f3c329cb24ebe' }, 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',
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: '11419044848', name: 'push', payload: { after: '7d94b9c213ff1bfc7ee651dd4a4f3c329cb24ebe', base_ref: 'refs/heads/master', before: '0000000000000000000000000000000000000000', commits: [], compare: 'https://github.com/bot-ssttkkl/nonebot-plugin-escape-url/compare/v0.1.4', created: true, deleted: false, forced: false, head_commit: { author: { email: '[email protected]', name: 'ssttkkl', username: 'ssttkkl' }, committer: { email: '[email protected]', name: 'ssttkkl', username: 'ssttkkl' }, distinct: true, id: '7d94b9c213ff1bfc7ee651dd4a4f3c329cb24ebe', message: '添加单测', timestamp: '2024-10-20T00:22:51+08:00', tree_id: '2e42b9943ab43636fcc34d668a8435ff4114c1f6', url: 'https://github.com/bot-ssttkkl/nonebot-plugin-escape-url/commit/7d94b9c213ff1bfc7ee651dd4a4f3c329cb24ebe' }, 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: '[email protected]', name: 'ssttkkl' }, ref: 'refs/tags/v0.1.4', repository: { allow_forking: true, archive_url: 'https://api.github.com/repos/bot-ssttkkl/nonebot-plugin-escape-url/{archive_format}{/ref}', archived: false, assignees_url: 'https://api.github.com/repos/bot-ssttkkl/nonebot-plugin-escape-url/assignees{/user}', blobs_url: 'https://api.github.com/repos/bot-ssttkkl/nonebot-plugin-escape-url/git/blobs{/sha}', branches_url: 'https://api.github.com/repos/bot-ssttkkl/nonebot-plugin-escape-url/branches{/branch}', clone_url: 'https://github.com/bot-ssttkkl/nonebot-plugin-escape-url.git', collaborators_url: 'https://api.github.com/repos/bot-ssttkkl/nonebot-plugin-escape-url/collaborators{/collaborator}', comments_url: 'https://api.github.com/repos/bot-ssttkkl/nonebot-plugin-escape-url/comments{/number}', commits_url: 'https://api.github.com/repos/bot-ssttkkl/nonebot-plugin-escape-url/commits{/sha}', compare_url: 'https://api.github.com/repos/bot-ssttkkl/nonebot-plugin-escape-url/compare/{base}...{head}', contents_url: 'https://api.github.com/repos/bot-ssttkkl/nonebot-plugin-escape-url/contents/{+path}', contributors_url: 'https://api.github.com/repos/bot-ssttkkl/nonebot-plugin-escape-url/contributors', created_at: 1685544867, custom_properties: {}, default_branch: 'master', deployments_url: 'https://api.github.com/repos/bot-ssttkkl/nonebot-plugin-escape-url/deployments', description: 'NoneBot插件 自动转换发送消息中的URL,逃避URL检测', disabled: false, downloads_url: 'https://api.github.com/repos/bot-ssttkkl/nonebot-plugin-escape-url/downloads', events_url: 'https://api.github.com/repos/bot-ssttkkl/nonebot-plugin-escape-url/events', fork: false, forks: 0, forks_count: 0,
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/