Skip to content

feat(api): mutation operations #400

feat(api): mutation operations

feat(api): mutation operations #400

Triggered via pull request August 14, 2023 19:24
Status Success
Total duration 14s
Artifacts

release-drafter.yml

on: pull_request
update_release_draft
4s
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: '5859784437', status: 422, response: { url: 'https://api.github.com/repos/cryostatio/cryostat-agent/releases/102077899', 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': '195', 'content-security-policy': "default-src 'none'", 'content-type': 'application/json; charset=utf-8', date: 'Mon, 14 Aug 2023 19:24:30 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': 'B0C6:86BD:31EEB0:65F503:64DA7F6E', 'x-ratelimit-limit': '1000', 'x-ratelimit-remaining': '986', 'x-ratelimit-reset': '1692044012', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '14', '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' } }, request: { method: 'PATCH', url: 'https://api.github.com/repos/cryostatio/cryostat-agent/releases/102077899', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/16.16.0 (linux; x64)', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: '{"body":"## Contributors\\n@andrewazores, @dependabot, @dependabot[bot], @maxcao13, @mwangggg and @tthvo\\n## What\'s Changed\\n## Fixes\\n\\n* fix(credentials): store credentials with unique matchExpression (#156) @andrewazores\\n* fix(registration): correctly annotate with JMX port number (#157) @andrewazores\\n* ci(secrets): allow ci to use gh package secrets (#149) @maxcao13\\n* fix(credentials): store credentials with non-conflicting matchExpression (#134) @andrewazores\\n\\n## Maintenance\\n\\n* chore(CI): Update CI configs (#183) @mwangggg\\n* chore(license): change project license to Apache-2.0 (#177) @andrewazores\\n* build(deps): bump io.cryostat:cryostat-core from 2.21.1 to 2.22.0 (#173) @dependabot\\n* build(deps): bump cryostat-core from 2.21.0 to 2.21.1 (#161) @dependabot\\n* chore(ci): skip CI run on forks (#158) @tthvo\\n* build(deps): bump spotbugs-maven-plugin from 4.7.3.4 to 4.7.3.5 (#155) @dependabot\\n* ci(mergify): add mergify config for `safe-to-test` label (#152) @maxcao13\\n* build(deps): bump maven-shade-plugin from 3.4.1 to 3.5.0 (#150) @dependabot\\n* ci(pr-targets): use `safe-to-test` only on PR and trigger on label/unlabel (#151) @maxcao13\\n* ci(secrets): allow ci to use gh package secrets (#149) @maxcao13\\n* build(deps): bump cryostat-core from 2.20.0 to 2.21.0 (#145) @dependabot\\n* build(deps): bump dependency-check-maven from 8.2.1 to 8.3.1 (#147) @dependabot\\n* build(deps): bump spotless-maven-plugin from 2.36.0 to 2.37.0 (#125) @dependabot\\n* build(deps): bump maven-project-info-reports-plugin from 3.4.3 to 3.4.5 (#144) @dependabot\\n","draft":true,"prerelease":false,"tag_name":"untagged-d8b208aa7eb50f4b8dbb","target_commitish":"refs/pull/175/merge"}', request: {} }, event: { id: '5859784437', na
update_release_draft
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} at /home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:8462:21 at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:30793:18) { name: 'AggregateError', event: { id: '5859784437', name: 'pull_request', payload: { action: 'synchronize', after: '3df2ec1b5b5dc68ec1e763b3c5fc3f105d5bf255', before: '82002e87639228838418f4d2e9ba9af462417fe3', number: 175, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/81769700?v=4', description: 'JDK Flight Recorder for Kubernetes', events_url: 'https://api.github.com/orgs/cryostatio/events', hooks_url: 'https://api.github.com/orgs/cryostatio/hooks', id: 81769700, issues_url: 'https://api.github.com/orgs/cryostatio/issues', login: 'cryostatio', members_url: 'https://api.github.com/orgs/cryostatio/members{/member}', node_id: 'MDEyOk9yZ2FuaXphdGlvbjgxNzY5NzAw', public_members_url: 'https://api.github.com/orgs/cryostatio/public_members{/member}', repos_url: 'https://api.github.com/orgs/cryostatio/repos', url: 'https://api.github.com/orgs/cryostatio' }, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/cryostatio/cryostat-agent/issues/175/comments' }, commits: { href: 'https://api.github.com/repos/cryostatio/cryostat-agent/pulls/175/commits' }, html: { href: 'https://github.com/cryostatio/cryostat-agent/pull/175' }, issue: { href: 'https://api.github.com/repos/cryostatio/cryostat-agent/issues/175' }, review_comment: { href: 'https://api.github.com/repos/cryostatio/cryostat-agent/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/cryostatio/cryostat-agent/pulls/175/comments' }, self: { href: 'https://api.github.com/repos/cryostatio/cryostat-agent/pulls/175' }, statuses: { href: 'https://api.github.com/repos/cryostatio/cryostat-agent/statuses/3df2ec1b5b5dc68ec1e763b3c5fc3f105d5bf255' } }, active_lock_reason: null, additions: 526, assignee: null, assignees: [], author_association: 'MEMBER', auto_merge: null, base: { label: 'cryostatio:main', ref: 'main', repo: { allow_auto_merge: false, allow_forking: true, allow_merge_commit: false, allow_rebase_merge: true, allow_squash_merge: true, allow_update_branch: true, archive_url: 'https://api.github.com/repos/cryostatio/cryostat-agent/{archive_format}{/ref}', archived: false, assignees_url: 'https://api.github.com/repos/cryostatio/cryostat-agent/assignees{/user}', blobs_url: 'https://api.github.com/repos/cryostatio/cryostat-agent/git/blobs{/sha}', branches_url: 'https://api.github.com/repos/cryostatio/cryostat-agent/branches{/branch}', clone_url: 'https://github.com/cryostatio/cryostat-agent.git', collaborators_url: 'https://api.github.com/repos/cryostatio/cryostat-agent/collaborators{/collaborator}', comments_url: 'https://api.github.com/repos/cryostatio/cryostat-agent/comments{/number}', commits_url: 'https://api.github.com/repos/cryostatio/cryostat-agent/commits{/sha}', compare_url: 'https://api.github.com/repos/cryostatio/cryostat-agent/compare/{base}...{head}', contents_url: 'https://api.github.com/repos/cryostatio/cryostat-agent/contents/{+path}', contributors_url: 'https://api.github.com/repos/cryostati