Deploy Staging to Main branch (bugfix) #119
release-drafter.yml
on: pull_request
update_release_draft
20s
Annotations
2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '10295658579',
status: 422,
response: {
url: 'https://api.github.com/repos/CodeForPhilly/clean-and-green-philly/releases/166835840',
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: 'Thu, 08 Aug 2024 03:55:59 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': '91C3:3E4F71:79345AF:E3C6350:66B441CF',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4991',
'x-ratelimit-reset': '1723092943',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '9',
'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/CodeForPhilly/clean-and-green-philly/releases/166835840',
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":"## Changes\\n- jgrimes86/861 dropdown display bug fix @jgrimes86 (#865)\\n- Merge staging into main @nlebovits (#862)\\n- add outlines to content cards @zheyichn (#831)\\n- fix docker formatting and linting @nlebovits (#847)\\n- fix formatting and linting errors @nlebovits (#846)\\n- Add precommit hook @nlebovits (#842)\\n- Lebovits/issu841 switch to ruff @nlebovits (#845)\\n- add script to query database in docker container and write a local sp… @nlebovits (#844)\\n- Deploy Staging to Main branch @CodeWritingCow (#834)\\n- 767: Enable GitHub Workflows for release drafter and semantic release @CodeWritingCow (#833)\\n- Fix gun violence graph in WHCM. @zheyichn (#813)\\n- temporarily disable release and release-drafter workflows @nlebovits (#821)\\n- Staging @nlebovits (#820)\\n- Lebovits/temporarily disable release workflows @nlebovits (#819)\\n- Staging @nlebovits (#818)\\n- temporarily disble workflows until working @nlebovits (#817)\\n- Staging @nlebovits (#816)\\n- Test release drafter @nlebovits (#815)\\n- Test release @nlebovits (#814)\\n- Staging @nlebovits (#810)\\n- quick fixes due to npm formatting @nlebovits (#812)\\n- fix eslint, prettier conflicts; run npm format @nlebovits (#811)\\n- deps: bump the all-npm group with 16 updates @dependabot (#808)\\n- fix issue with node version, release drafter github token @nlebovits (#809)\\n- Staging @nlebovits (#807)\\n- deps: bump postcss from 8.4.29 to 8.4.39 @dependabot (#806)\\n- deps: bump pandas from 2.1.4 to 2.2.2 in /data/src @dependabot (#805)\\n- deps: bump framer-motion from 10.18.0 to 11.3.8 @dependabot (#804)\\n- deps: bump slack-sdk from 3.28.0 to 3.31.0 in /data/src @dependabot (#800)\\n- deps: bump @typescript-eslint/parser from
|
update_release_draft
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: '10295658579',
name: 'pull_request',
payload: {
action: 'opened',
number: 866,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/1451716?v=4',
description: "Philly's civic tech brigade",
events_url: 'https://api.github.com/orgs/CodeForPhilly/events',
hooks_url: 'https://api.github.com/orgs/CodeForPhilly/hooks',
id: 1451716,
issues_url: 'https://api.github.com/orgs/CodeForPhilly/issues',
login: 'CodeForPhilly',
members_url: 'https://api.github.com/orgs/CodeForPhilly/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjE0NTE3MTY=',
public_members_url: 'https://api.github.com/orgs/CodeForPhilly/public_members{/member}',
repos_url: 'https://api.github.com/orgs/CodeForPhilly/repos',
url: 'https://api.github.com/orgs/CodeForPhilly'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/CodeForPhilly/clean-and-green-philly/issues/866/comments'
},
commits: {
href: 'https://api.github.com/repos/CodeForPhilly/clean-and-green-philly/pulls/866/commits'
},
html: {
href: 'https://github.com/CodeForPhilly/clean-and-green-philly/pull/866'
},
issue: {
href: 'https://api.github.com/repos/CodeForPhilly/clean-and-green-philly/issues/866'
},
review_comment: {
href: 'https://api.github.com/repos/CodeForPhilly/clean-and-green-philly/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/CodeForPhilly/clean-and-green-philly/pulls/866/comments'
},
self: {
href: 'https://api.github.com/repos/CodeForPhilly/clean-and-green-philly/pulls/866'
},
statuses: {
href: 'https://api.github.com/repos/CodeForPhilly/clean-and-green-philly/statuses/4373ddedda0f7d70034b0ded071503b79fa31af1'
}
},
active_lock_reason: null,
additions: 18,
assignee: null,
assignees: [],
author_association: 'COLLABORATOR',
auto_merge: null,
base: {
label: 'CodeForPhilly:main',
ref: 'main',
repo: {
allow_auto_merge: false,
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/CodeForPhilly/clean-and-green-philly/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/CodeForPhilly/clean-and-green-philly/assignees{/user}',
blobs_url: 'https://api.github.com/repos/CodeForPhilly/clean-and-green-philly/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/CodeForPhilly/clean-and-green-philly/branches{/branch}',
clone_url: 'https://github.com/CodeForPhilly/clean-and-green-philly.git',
collaborators_url: 'https://api.github.com/repos/CodeForPhilly/clean-and-green-philly/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/CodeForPhilly/clean-and-green-philly/comments{/number}',
commits_url: 'https://api.github.com/repos/CodeForPhilly/clean-and-green-philly/commits{/sha}',
compare_url: 'https://api.github.com/repos/CodeForPhilly/clean-and-green-philly/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/CodeForPhilly/c
|