Skip to content

fix: 修复action版本 #4

fix: 修复action版本

fix: 修复action版本 #4

Triggered via pull request November 25, 2024 14:17
Status Success
Total duration 28s
Artifacts

release-drafter.yml

on: pull_request
update_release_draft
17s
update_release_draft
Fit to window
Zoom out
Zoom in

Annotations

2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} { name: 'HttpError', id: '12011958018', status: 422, response: { url: 'https://api.github.com/repos/opsre/WatchAlert/releases/187305190', 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': '210', 'content-security-policy': "default-src 'none'", 'content-type': 'application/json; charset=utf-8', date: 'Mon, 25 Nov 2024 14:17: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', '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': '1D12:2822A2:BAA1:16984:67448708', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4984', 'x-ratelimit-reset': '1732547392', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '16', 'x-xss-protection': '0' }, data: { message: 'Validation Failed', errors: [ { resource: 'Release', code: 'invalid', field: 'target_commitish' } ], documentation_url: 'https://docs.github.com/rest/releases/releases#update-a-release', status: '422' } }, request: { method: 'PATCH', url: 'https://api.github.com/repos/opsre/WatchAlert/releases/187305190', 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: '{"body":"## What’s Changed\\n* 💡 Support alert subscribe service (#93) @Cairry\\n* Feat/notice optmize (#90) @thirdcountry\\n* 💡Supported LDAP system login (#92) @Cairry\\n* Fix before delete datasource, check is not expect (#89) @Cairry\\n* Optimize grafana dashboard embedding method (#88) @Cairry\\n* refactor: 💡 update deploy and auto init db (#87) @thirdcountry\\n* Update admin permissions on initialization (#85) @haigeek\\n* Fix part datasource check method wrong (#84) @Cairry\\n* Optimize datasource provider logic (#83) @Cairry\\n* Fix loki query log count (#82) @Cairry\\n* Optimize url format of the loki query api (#81) @Cairry\\n* Optimize part datasource check health logic (#80) @Cairry\\n* Optimize kubernetes event type name mapping (#79) @Cairry\\n* Fix loki query log count wrong (#77) @Cairry\\n* Optimize http package and add skip verify logic (#76) @Cairry\\n* Optimize alarm consumer logic (#75) @Cairry\\n* Fix monitor consumer unlock invalid operate (#74) @Cairry\\n* fix notice_template_examples.sql format (#72) @haigeek\\n* Add alert rule of the elasticsearch datasource (#71) @Cairry\\n* Update deploy docs (#70) @Cairry\\n* Update notice template sql (#69) @Cairry\\n* Fix prometheus query failed (#68) @Cairry\\n* Add ssl monitor (#67) @Cairry\\n* Fix missing jaeger datasource of the alert rule (#66) @Cairry\\n* Add kubernetes event monitor (#64) @Cairry\\n* Fix init admin user tenants is null, del pointer (#63) @Cairry\\n* Optimize tenant management add member and role (#62) @Cairry\\n* Reserve expired rule of the silence (#60) @Cairry\\n* Fix audit log recorded wrong status (#59) @Cairry\\n* Improve notice template reusability(#50 ) (#58) @Cairry\\n* Add recover notify switch func(#53) (#56) @Cairry\\n* Add VictoriaMetrics dataso
update_release_draft
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} at /home/runner/work/_actions/release-drafter/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/release-drafter/release-drafter/v6/dist/index.js:30793:18) { name: 'AggregateError', event: { id: '12011958018', name: 'pull_request', payload: { action: 'opened', number: 102, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/188568020?v=4', description: '🧰 全世界运维人员联合起来 | The Operations Personnel Of The World Unite', events_url: 'https://api.github.com/orgs/opsre/events', hooks_url: 'https://api.github.com/orgs/opsre/hooks', id: 188568020, issues_url: 'https://api.github.com/orgs/opsre/issues', login: 'opsre', members_url: 'https://api.github.com/orgs/opsre/members{/member}', node_id: 'O_kgDOCz1R1A', public_members_url: 'https://api.github.com/orgs/opsre/public_members{/member}', repos_url: 'https://api.github.com/orgs/opsre/repos', url: 'https://api.github.com/orgs/opsre' }, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/opsre/WatchAlert/issues/102/comments' }, commits: { href: 'https://api.github.com/repos/opsre/WatchAlert/pulls/102/commits' }, html: { href: 'https://github.com/opsre/WatchAlert/pull/102' }, issue: { href: 'https://api.github.com/repos/opsre/WatchAlert/issues/102' }, review_comment: { href: 'https://api.github.com/repos/opsre/WatchAlert/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/opsre/WatchAlert/pulls/102/comments' }, self: { href: 'https://api.github.com/repos/opsre/WatchAlert/pulls/102' }, statuses: { href: 'https://api.github.com/repos/opsre/WatchAlert/statuses/39a7693f480a843e7dd02b2198d4663eeecf0b44' } }, active_lock_reason: null, additions: 2, assignee: null, assignees: [], author_association: 'CONTRIBUTOR', auto_merge: null, base: { label: 'opsre:master', ref: 'master', 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/opsre/WatchAlert/{archive_format}{/ref}', archived: false, assignees_url: 'https://api.github.com/repos/opsre/WatchAlert/assignees{/user}', blobs_url: 'https://api.github.com/repos/opsre/WatchAlert/git/blobs{/sha}', branches_url: 'https://api.github.com/repos/opsre/WatchAlert/branches{/branch}', clone_url: 'https://github.com/opsre/WatchAlert.git', collaborators_url: 'https://api.github.com/repos/opsre/WatchAlert/collaborators{/collaborator}', comments_url: 'https://api.github.com/repos/opsre/WatchAlert/comments{/number}', commits_url: 'https://api.github.com/repos/opsre/WatchAlert/commits{/sha}', compare_url: 'https://api.github.com/repos/opsre/WatchAlert/compare/{base}...{head}', contents_url: 'https://api.github.com/repos/opsre/WatchAlert/contents/{+path}', contributors_url: 'https://api.github.com/repos/opsre/WatchAlert/contributors', created_at: '2023-11-09T06:37:17Z', default_branch: 'master', delete_branch_on_merge: false, deployments_url: 'https://api.github.com/repos/opsre/WatchAlert/deployments', description: '🚀一款轻量级云原生监控报警管理系统,支持对接Prometheus、VictoriaMetric、CloudWat