Add precommit hook #100
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: '10152027701',
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: 'Mon, 29 Jul 2024 21:20:20 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': '0C02:148A04:13F0007:2518C30:66A80793',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4991',
'x-ratelimit-reset': '1722291600',
'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- 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 7.3.1 to 7.16.1 @dependabot (#799)\\n- Lebovits/fix dependabot @nlebovits (#803)\\n- Lebovits/issu791 automate pr mgmt @nlebovits (#795)\\n- add semantic release and release drafter configs @nlebovits (#792)\\n- deps: bump pydantic from 1.10.12 to 2.8.2 in /data/src @dependabot (#788)\\n- Staging @nlebovits (
|
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: '10152027701',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '39ed7cc089e4cd75b46493c70174d5cad07f7485',
before: '769214655d1527045da909e75bf25571b685ff0e',
number: 842,
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/842/comments'
},
commits: {
href: 'https://api.github.com/repos/CodeForPhilly/clean-and-green-philly/pulls/842/commits'
},
html: {
href: 'https://github.com/CodeForPhilly/clean-and-green-philly/pull/842'
},
issue: {
href: 'https://api.github.com/repos/CodeForPhilly/clean-and-green-philly/issues/842'
},
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/842/comments'
},
self: {
href: 'https://api.github.com/repos/CodeForPhilly/clean-and-green-philly/pulls/842'
},
statuses: {
href: 'https://api.github.com/repos/CodeForPhilly/clean-and-green-philly/statuses/39ed7cc089e4cd75b46493c70174d5cad07f7485'
}
},
active_lock_reason: null,
additions: 2566,
assignee: null,
assignees: [],
author_association: 'COLLABORATOR',
auto_merge: null,
base: {
label: 'CodeForPhilly:staging',
ref: 'staging',
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/CodeFo
|