Delta Control Mapping for Distinct Profiles #17403
draft-release.yml
on: pull_request
update_draft_release
6s
Annotations
2 errors
update_draft_release
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '11019297941',
status: 422,
response: {
url: 'https://api.github.com/repos/mitre/saf/releases/175343263',
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: 'Tue, 24 Sep 2024 17:58:16 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': '07C6:290579:5438C5:A1F453:66F2FDB8',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4967',
'x-ratelimit-reset': '1727202048',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '33',
'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/mitre/saf/releases/175343263',
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":"## Dependency Updates\\n\\n- Bump @oclif/plugin-warn-if-update-available from 3.1.16 to 3.1.17 @dependabot (#2904)\\n- Bump @types/node from 22.5.5 to 22.6.1 @dependabot (#2901)\\n- Bump @oclif/plugin-version from 2.2.12 to 2.2.13 @dependabot (#2900)\\n- Bump @oclif/plugin-plugins from 5.4.8 to 5.4.9 @dependabot (#2898)\\n- Bump @types/lodash from 4.17.7 to 4.17.9 @dependabot (#2897)\\n- Bump @oclif/plugin-help from 6.2.11 to 6.2.12 @dependabot (#2896)\\n- Bump oclif from 4.14.34 to 4.14.35 @dependabot (#2903)\\n- Bump @smithy/node-http-handler from 3.2.2 to 3.2.3 @dependabot (#2902)\\n- Bump @oclif/core from 4.0.22 to 4.0.23 @dependabot (#2895)\\n- Bump @aws-sdk/client-config-service from 3.651.1 to 3.654.0 @dependabot (#2894)\\n- Bump @aws-sdk/client-securityhub from 3.651.1 to 3.654.0 @dependabot (#2893)\\n- Bump oclif from 4.14.32 to 4.14.34 @dependabot (#2890)\\n- Bump eslint from 8.57.0 to 8.57.1 @dependabot (#2889)\\n","draft":true,"prerelease":false,"make_latest":"true","name":"1.4.15","tag_name":"1.4.15","target_commitish":"refs/pull/2805/merge"}',
request: {}
},
event: {
id: '11019297941',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '046dd9a2590af8c7b205e9a838b0b2d5cc3368d4',
before: '45ab1a075dd487d5b492d838b7b3862454e83048',
number: 2805,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/44968?v=4',
description: 'Open Source Software from the MITRE Corporation',
events_url: 'https://api.github.com/orgs/mitre/events',
hooks_url: 'https://api.github.com/orgs/mitre/hooks',
id: 44968,
issues_url: 'https://api.github.com/orgs/mitre/issues',
login: 'mitre',
members_url: 'https://api.github.com/
|
update_draft_release
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: '11019297941',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '046dd9a2590af8c7b205e9a838b0b2d5cc3368d4',
before: '45ab1a075dd487d5b492d838b7b3862454e83048',
number: 2805,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/44968?v=4',
description: 'Open Source Software from the MITRE Corporation',
events_url: 'https://api.github.com/orgs/mitre/events',
hooks_url: 'https://api.github.com/orgs/mitre/hooks',
id: 44968,
issues_url: 'https://api.github.com/orgs/mitre/issues',
login: 'mitre',
members_url: 'https://api.github.com/orgs/mitre/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjQ0OTY4',
public_members_url: 'https://api.github.com/orgs/mitre/public_members{/member}',
repos_url: 'https://api.github.com/orgs/mitre/repos',
url: 'https://api.github.com/orgs/mitre'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/mitre/saf/issues/2805/comments'
},
commits: {
href: 'https://api.github.com/repos/mitre/saf/pulls/2805/commits'
},
html: { href: 'https://github.com/mitre/saf/pull/2805' },
issue: {
href: 'https://api.github.com/repos/mitre/saf/issues/2805'
},
review_comment: {
href: 'https://api.github.com/repos/mitre/saf/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/mitre/saf/pulls/2805/comments'
},
self: { href: 'https://api.github.com/repos/mitre/saf/pulls/2805' },
statuses: {
href: 'https://api.github.com/repos/mitre/saf/statuses/046dd9a2590af8c7b205e9a838b0b2d5cc3368d4'
}
},
active_lock_reason: null,
additions: 368,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: null,
base: {
label: 'mitre:main',
ref: 'main',
repo: {
allow_auto_merge: true,
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/mitre/saf/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/mitre/saf/assignees{/user}',
blobs_url: 'https://api.github.com/repos/mitre/saf/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/mitre/saf/branches{/branch}',
clone_url: 'https://github.com/mitre/saf.git',
collaborators_url: 'https://api.github.com/repos/mitre/saf/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/mitre/saf/comments{/number}',
commits_url: 'https://api.github.com/repos/mitre/saf/commits{/sha}',
compare_url: 'https://api.github.com/repos/mitre/saf/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/mitre/saf/contents/{+path}',
contributors_url: 'https://api.github.com/repos/mitre/saf/contributors',
created_at: '2021-11-29T16:50:20Z',
default_branch: 'main',
delete_branch_on_merge: false,
deployments_url: 'https://api.github.com/repos/mitre/saf/deployments',
description: 'The MITRE Security Automation Framework (SAF) Command Line Interface (CLI) brings together application
|