SSO Updates #459
release.yaml
on: pull_request
update_release_draft
11s
Annotations
2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '12040227720',
status: 422,
response: {
url: 'https://api.github.com/repos/bcgov/pipeline-templates/releases/53891365',
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, 26 Nov 2024 22:40:45 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': '3899:55AFD:B98069:16C1983:67464E6D',
'x-ratelimit-limit': '15000',
'x-ratelimit-remaining': '14993',
'x-ratelimit-reset': '1732664438',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '7',
'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/bcgov/pipeline-templates/releases/53891365',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.18.0 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"body":"## Changes\\n\\n- added note about enabling SSO for PAT @ShellyXueHan (#78)\\n- update install.sh with github PAT @w8896699 (#58)\\n- remove empty RUN in dockerfile @ShellyXueHan (#75)\\n- Update install.sh @mtspn (#69)\\n- updates to react-demo pipeline and created triggers @calbertan (#71)\\n- small update regarding to namespace parameter @w8896699 (#67)\\n- Update react-deploy.yaml @calbertan (#66)\\n- remove deprecated role from pipeline trigger sa @ShellyXueHan (#65)\\n- React demo @calbertan (#63)\\n- Update README.md @w8896699 (#61)\\n- Owasp gcp fix @w8896699 (#60)\\n- Issue34 sonarscan @calbertan (#57)\\n- Update to use pat @w8896699 (#56)\\n- update compiler version @w8896699 (#55)\\n- remove duplicate param def @ShellyXueHan (#51)\\n- Add missing compliance audit file @repo-mountie (#50)\\n- Add missing license @repo-mountie (#49)\\n- Tekton vault integration @ShellyXueHan (#48)\\n- update tekton docker setup steps @ShellyXueHan (#47)\\n- Tekton doc ssh key steps update @ShellyXueHan (#45)\\n- Datree missing token band aid @w8896699 (#37)\\n- fix precommit errors @gregnrobinson (#35)\\n- Fix typo @conbrad (#33)\\n- Changes for 201 Pipelines lab take 2 @jayfray12 (#31)\\n- Fix CR-LF @bruce-wh-li (#30)\\n- Modify owasp tekton pipeline to redirect the scan result from taskrun log to github issues @bruce-wh-li (#29)\\n- Changes for 201 Pipelines lab @jayfray12 (#27)\\n- Removed role perms not held by namespace admins @IanKWatts (#25)\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v0.3.20 🌈","tag_name":"v0.3.20","target_commitish":"refs/pull/79/merge"}',
request: {}
},
event: {
id: '12040227720',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'daa
|
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 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: '12040227720',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'daa9e2c93fe3d54e64552e867d746ef3619ba6b2',
before: '945e478a89c828b37e1070c46a53d22c3d7e79bd',
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/185255?v=4',
created_at: '2024-06-27T18:02:51Z',
description: 'Managed by the Developer Experience team',
html_url: 'https://github.com/enterprises/bcgov-enterprise',
id: 185255,
name: 'Government of British Columbia',
node_id: 'E_kgDOAALTpw',
slug: 'bcgov-enterprise',
updated_at: '2024-11-15T12:16:12Z',
website_url: 'https://developer.gov.bc.ca/docs/default/component/bc-developer-guide/use-github-in-bcgov/bc-government-organizations-in-github/'
},
number: 79,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/916280?v=4',
description: 'This is the home for code that is open',
events_url: 'https://api.github.com/orgs/bcgov/events',
hooks_url: 'https://api.github.com/orgs/bcgov/hooks',
id: 916280,
issues_url: 'https://api.github.com/orgs/bcgov/issues',
login: 'bcgov',
members_url: 'https://api.github.com/orgs/bcgov/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjkxNjI4MA==',
public_members_url: 'https://api.github.com/orgs/bcgov/public_members{/member}',
repos_url: 'https://api.github.com/orgs/bcgov/repos',
url: 'https://api.github.com/orgs/bcgov'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/bcgov/pipeline-templates/issues/79/comments'
},
commits: {
href: 'https://api.github.com/repos/bcgov/pipeline-templates/pulls/79/commits'
},
html: {
href: 'https://github.com/bcgov/pipeline-templates/pull/79'
},
issue: {
href: 'https://api.github.com/repos/bcgov/pipeline-templates/issues/79'
},
review_comment: {
href: 'https://api.github.com/repos/bcgov/pipeline-templates/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/bcgov/pipeline-templates/pulls/79/comments'
},
self: {
href: 'https://api.github.com/repos/bcgov/pipeline-templates/pulls/79'
},
statuses: {
href: 'https://api.github.com/repos/bcgov/pipeline-templates/statuses/daa9e2c93fe3d54e64552e867d746ef3619ba6b2'
}
},
active_lock_reason: null,
additions: 6,
assignee: {
avatar_url: 'https://avatars.githubusercontent.com/u/99685508?v=4',
events_url: 'https://api.github.com/users/mtspn/events{/privacy}',
followers_url: 'https://api.github.com/users/mtspn/followers',
following_url: 'https://api.github.com/users/mtspn/following{/other_user}',
gists_url: 'https://api.github.com/users/mtspn/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/mtspn',
id: 99685508,
login: 'mtspn',
node_id: 'U_kgDOBfEUhA',
organizations_url: 'https://api.github.com/users/mtspn/orgs',
received_events_url: 'https://api.github.com/users/mtspn/received_events',
repos_url: 'https://api.github.com/users/mtspn/repos',
site_admin: false,
starred_url: 'https://api.github.com/users/mtspn/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/mtspn/
|