[Snyk] Security upgrade requests from 2.31.0 to 2.32.0 #307
release-drafter.yaml
on: pull_request
update_release_draft
5s
Annotations
2 errors and 1 warning
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '9170902204',
status: 422,
response: {
url: 'https://api.github.com/repos/Liam-Deacon/phaseshifts/releases/137864458',
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: 'Tue, 21 May 2024 07:50:00 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': 'A786:87F18:2BA8:47F3:664C5228',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4975',
'x-ratelimit-reset': '1716281391',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '25',
'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/Liam-Deacon/phaseshifts/releases/137864458',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/16.20.2 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"body":"## Changes\\n\\n- [pre-commit.ci] pre-commit autoupdate @pre-commit-ci (#99)\\n- [pre-commit.ci] pre-commit autoupdate @pre-commit-ci (#96)\\n- Add license scan report and status @fossabot (#83)\\n- [pre-commit.ci] pre-commit autoupdate @pre-commit-ci (#85)\\n\\n## 🚀 Features\\n\\n- Update Qt GUI modules to use qtpy (Qt5/6) @Liam-Deacon (#98)\\n- Improve workflow triggers and add flake8 config @Liam-Deacon (#91)\\n\\n## 🐛 Bug Fixes\\n\\n- Move Dockerfile to dockerfiles/phaseshifts-phsh.dockerfile @Liam-Deacon (#82)\\n- Update setup.py to use text/markdown for README @Liam-Deacon (#77)\\n- Download pipeline artifacts to dist directory prior to upload @Liam-Deacon (#76)\\n\\n## 🧰 Maintenance\\n\\n- Update Qt GUI modules to use qtpy (Qt5/6) @Liam-Deacon (#98)\\n- Add VS Code extension recommendations @Liam-Deacon (#95)\\n- Improve workflow triggers and add flake8 config @Liam-Deacon (#91)\\n\\n## :books: Documentation\\n\\n- Add EEASiSSS to list of alternatives @Liam-Deacon (#93)\\n- build: Add python utils for creating phsh progs @Liam-Deacon (#88)\\n- Create notes on porting phshift2007 @Liam-Deacon (#87)\\n- Add CONTRIBUTING.md and CODE\\\\_OF\\\\_CONDUCT.md @Liam-Deacon (#84)\\n- Move Dockerfile to dockerfiles/phaseshifts-phsh.dockerfile @Liam-Deacon (#82)\\n- Update alternatives link for AQuaLEED and mention possible docker image @Liam-Deacon (#81)\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v0.1.9 🌈","tag_name":"v0.1.9","target_commitish":"refs/pull/102/merge"}',
request: {}
},
event: {
id: '9170902204',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'fda5c3a0a6249598180fcea19db9fb25aad35d11',
before: 'e4a3c0c0b15b36cbf0da79a7401f9d6358ac202a',
numb
|
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: '9170902204',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'fda5c3a0a6249598180fcea19db9fb25aad35d11',
before: 'e4a3c0c0b15b36cbf0da79a7401f9d6358ac202a',
number: 102,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/Liam-Deacon/phaseshifts/issues/102/comments'
},
commits: {
href: 'https://api.github.com/repos/Liam-Deacon/phaseshifts/pulls/102/commits'
},
html: {
href: 'https://github.com/Liam-Deacon/phaseshifts/pull/102'
},
issue: {
href: 'https://api.github.com/repos/Liam-Deacon/phaseshifts/issues/102'
},
review_comment: {
href: 'https://api.github.com/repos/Liam-Deacon/phaseshifts/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/Liam-Deacon/phaseshifts/pulls/102/comments'
},
self: {
href: 'https://api.github.com/repos/Liam-Deacon/phaseshifts/pulls/102'
},
statuses: {
href: 'https://api.github.com/repos/Liam-Deacon/phaseshifts/statuses/fda5c3a0a6249598180fcea19db9fb25aad35d11'
}
},
active_lock_reason: null,
additions: 1,
assignee: null,
assignees: [],
author_association: 'OWNER',
auto_merge: null,
base: {
label: 'Liam-Deacon: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: true,
archive_url: 'https://api.github.com/repos/Liam-Deacon/phaseshifts/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/Liam-Deacon/phaseshifts/assignees{/user}',
blobs_url: 'https://api.github.com/repos/Liam-Deacon/phaseshifts/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/Liam-Deacon/phaseshifts/branches{/branch}',
clone_url: 'https://github.com/Liam-Deacon/phaseshifts.git',
collaborators_url: 'https://api.github.com/repos/Liam-Deacon/phaseshifts/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/Liam-Deacon/phaseshifts/comments{/number}',
commits_url: 'https://api.github.com/repos/Liam-Deacon/phaseshifts/commits{/sha}',
compare_url: 'https://api.github.com/repos/Liam-Deacon/phaseshifts/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/Liam-Deacon/phaseshifts/contents/{+path}',
contributors_url: 'https://api.github.com/repos/Liam-Deacon/phaseshifts/contributors',
created_at: '2019-09-21T14:10:21Z',
default_branch: 'master',
delete_branch_on_merge: false,
deployments_url: 'https://api.github.com/repos/Liam-Deacon/phaseshifts/deployments',
description: 'Calculate elastic electron atom scattering (EEAS) phase shifts in solid materials for LEED modelling',
disabled: false,
downloads_url: 'https://api.github.com/repos/Liam-Deacon/phaseshifts/downloads',
events_url: 'https://api.github.com/repos/Liam-Deacon/phaseshifts/events',
fork: false,
forks: 1,
forks_count: 1,
forks_url: 'https://api.github.com/repos/Liam-Deacon/phaseshifts/forks',
full_name: 'Liam-Deacon/phaseshifts',
|
update_release_draft
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: release-drafter/release-drafter@v5. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|