Skip to content

SUP-4358: Refactor Functions (#30) #22

SUP-4358: Refactor Functions (#30)

SUP-4358: Refactor Functions (#30) #22

Triggered via push August 15, 2025 14:48
Status Success
Total duration 9s
Artifacts
update_release_draft
6s
update_release_draft
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 4 warnings
update_release_draft
HttpError: Resource not accessible by integration at /home/runner/work/_actions/release-drafter/release-drafter/v6/dist/index.js:7146: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:61885:18) { name: 'AggregateError', event: { id: '16992526715', name: 'push', payload: { after: '491e385f50fc38a75bd760d926475dfe36aa7f7e', base_ref: null, before: '75e816285fb0d883ba5ea07a7b0551a35f84dd26', commits: [ { author: { email: 'tom@buildkite.com', name: 'Tom Watt', username: 'tomowatt' }, committer: { email: 'noreply@github.com', name: 'GitHub', username: 'web-flow' }, distinct: true, id: '491e385f50fc38a75bd760d926475dfe36aa7f7e', message: 'SUP-4358: Refactor Functions (#30)\n' + '\n' + '* feat: produce additional output file for non-human output formats\n' + '\n' + '* feat: update parameters and format\n' + '\n' + '* docs: update README to reflect parameter changes\n' + '\n' + '* feat: reflect paramter changes in hook\n' + '\n' + '* test: reflect parameter changes in tests\n' + '\n' + "* fix: add set -e to ensure hook doesn't silently fail\n" + '\n' + '* chore: remove version, pin images and remove Read Only\n' + '\n' + '* feat/fix: add shared lib for handling reading env vars correctly for strings or arrays parameters\n' + '\n' + `* Revert "fix: add set -e to ensure hook doesn't silently fail"\n` + '\n' + 'This reverts commit f0bc9756f85c09b145909b34418869a9e708d437.\n' + '\n' + '* fix/test: correct Env Var used to read and add test\n' + '\n' + '* fix: make shared.bash executable for shellcheck\n' + '\n' + '* fix: update pipeline for shellcheck shared.bash\n' + '\n' + '* chore: re-add read-only for volume mounts as read-write not required\n' + '\n' + '* feat: add check for duplicate file formats\n' + '* set a default output that will be used for the Build Annotations so that can be refactored separately\n' + '* added notes for future changes required for loop to support multiple output files with the same file format per Wiz CLI docs\n' + '\n' + 'Signed-off-by: Tom Watt <tom@buildkite.com>\n' + '\n' + '* tests: add tests for duplicate file output formats\n' + '\n' + 'Signed-off-by: Tom Watt <tom@buildkite.com>\n' + '\n' + '* docs/chore: file-output-format is optional with no default\n' + '\n' + 'Signed-off-by: Tom Watt <tom@buildkite.com>\n' + '\n' + '* refactor: move setupWiz to separate file to run unit-tests\n' + '\n' + '* feat: pass env vars to container instead of using flags to remove for job logs\n' + '\n' + '* refactor: remove api-secret-env parameter in favour of using WIZ_CLIENT_SECRET\n' + '\n' + 'Signed-off-by: Tom Watt <tom@buildkite.com>\n' + '\n' + '* feat: add check for Wiz Client Credentials\n' + '\n' + 'Signed-off-by: Tom Watt <tom@buildkite.com>\n' + '\n' + '* tests: reflect usage of WIZ_CLIENT_* Credentials\n' + '* refactor: add teardown to cleanup dirs/files for authentication tests\n' + '\n' + 'Signed-off-by: Tom Watt <tom@buildkite.com>\n' + '\n' + '* docs: Update README to reflect usage of WIZ_CLIENT_* credentials\n' + '\n' +
update_release_draft
Resource not accessible by integration { name: 'HttpError', id: '16992526715', status: 403, response: { url: 'https://api.github.com/repos/buildkite-plugins/wiz-buildkite-plugin/releases', status: 403, 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', 'content-encoding': 'gzip', 'content-security-policy': "default-src 'none'", 'content-type': 'application/json; charset=utf-8', date: 'Fri, 15 Aug 2025 14:48:43 GMT', 'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin', server: 'github.com', 'strict-transport-security': 'max-age=31536000; includeSubdomains; preload', 'transfer-encoding': 'chunked', 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': 'FFC1:EB1FA:3E2F99:DCFDDC:689F48CB', 'x-ratelimit-limit': '15000', 'x-ratelimit-remaining': '14997', 'x-ratelimit-reset': '1755272922', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '3', 'x-xss-protection': '0' }, data: { message: 'Resource not accessible by integration', documentation_url: 'https://docs.github.com/rest/releases/releases#create-a-release', status: '403' } }, request: { method: 'POST', url: 'https://api.github.com/repos/buildkite-plugins/wiz-buildkite-plugin/releases', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/12.4.0 octokit-core.js/3.6.0 Node.js/20.19.3 (linux; x64)', 'x-github-delivery': '16992526715', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: '{"target_commitish":"refs/heads/main","name":"v1.5.0 (🌈 Insert Release Name)","tag_name":"v1.5.0","body":"## Changes\\n\\n* SUP-4358: Refactor Functions (#30) @tomowatt\\n* SUP-4329: Refactor to use WIZ_CLIENT_ID and WIZ_CLIENT_SECRET (#29) @tomowatt\\n* SUP-3846: Add additional File Output Formats (#28) @tomowatt\\n* fix: align docker scan output with other scan types. (#27) @sulewicz-gq\\n* SUP-2419: Add CODEOWNERS (#25) @tomowatt\\n\\n## Upgrading\\n\\nTo upgrade, update your `pipeline.yml` files:\\n\\n```diff\\nsteps:\\n - command: test.sh\\n plugins:\\n- snyk#v1.4.0:\\n+ snyk#v1.5.0:\\n scan: oss\\n annotate: true\\n```\\n","draft":true,"prerelease":false,"make_latest":"true"}', request: {} }, event: { id: '16992526715', name: 'push', payload: { after: '491e385f50fc38a75bd760d926475dfe36aa7f7e', base_ref: null, before: '75e816285fb0d883ba5ea07a7b0551a35f84dd26', commits: [ { author: { email: 'tom@buildkite.com', name: 'Tom Watt', username: 'tomowatt' }, committer: { email: 'noreply@github.com', name: 'GitHub', username: 'web-flow' }, distinct: true, id: '491e385f50fc38a75bd760d926475dfe36aa7f7e', message: 'SUP-4358: Refactor Functions (#30)\n' + '\n' + '* feat: produce additional output file for non-human output formats\n' + '\n' + '* feat: update parameters and format\n' + '\n' + '* docs: update README to reflect parameter changes\n' + '\n' + '* feat: reflect paramter changes in hook\n' + '\n' + '* test: reflect parameter changes in tests\n' +
update_release_draft
"pull_request_target.edited" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
update_release_draft
"pull_request_target.synchronize" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
update_release_draft
"pull_request_target.reopened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
update_release_draft
"pull_request_target.opened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)