refactor: Remove phsh.zip #57
release-drafter.yaml
on: pull_request
update_release_draft
7s
Annotations
2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '7523188151',
status: 422,
response: {
url: 'https://api.github.com/repos/Liam-Deacon/phaseshifts/releases/136948833',
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: 'Mon, 15 Jan 2024 01:36:27 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': 'DCC7:552D:3DF2DF:814CFE:65A48C1B',
'x-ratelimit-limit': '1000',
'x-ratelimit-remaining': '952',
'x-ratelimit-reset': '1705283525',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '48',
'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/136948833',
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- feat: Add conda env YAML and remove py2exe @Liam-Deacon (#34)\\n- chore: make python 2.7 compatible @Liam-Deacon (#33)\\n- feat: Add `windows-latest` to build matrix @Liam-Deacon (#31)\\n- refactor: Remove unnecessary cython code @Liam-Deacon (#27)\\n- doc: Update documentation ready for 0.1.7 release @Liam-Deacon (#30)\\n- refactor: Change contact info, make slighly more maintainable @Liam-Deacon (#28)\\n- Merge pull request #23 from Liam-Deacon/refactor/rename-doc-dir @Liam-Deacon (#24)\\n- feat: Add readthedocs.yaml @Liam-Deacon (#22)\\n- Create publish-docs-to-github-pages @Liam-Deacon (#13)\\n- Pin typing\\\\_extensions to latest version 4.9.0 @pyup-bot (#20)\\n- Pin periodictable to latest version 1.6.1 @pyup-bot (#19)\\n- Remove f2py auto generated files @Liam-Deacon (#21)\\n\\n## 🚀 Features\\n\\n- feat: Add publish-to-pypi.yaml @Liam-Deacon (#35)\\n- refactor: Make py2.7/3 compatible and run black on all @Liam-Deacon (#25)\\n- refactor: Rename doc/ to standard docs/ @Liam-Deacon (#23)\\n- Add code coverage upload step after testing @Liam-Deacon (#14)\\n- Create release-drafter.yaml @Liam-Deacon (#11)\\n- Add Docker support @Liam-Deacon (#10)\\n- Create Test Package GitHub Action workflow for testing phaseshifts package @Liam-Deacon (#3)\\n- Add Python 3.11 support for pip install @Liam-Deacon (#4)\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v0.1.0 🌈","tag_name":"v0.1.0","target_commitish":"refs/pull/36/merge"}',
request: {}
},
event: {
id: '7523188151',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'd28b11fca68fb4f6da1829ba7e550436c13e582c',
before: '77b8b6d40475ba6f1f700172c8afb002e4bd5cae',
number: 36,
pull_request: {
_lin
|
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: '7523188151',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'd28b11fca68fb4f6da1829ba7e550436c13e582c',
before: '77b8b6d40475ba6f1f700172c8afb002e4bd5cae',
number: 36,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/Liam-Deacon/phaseshifts/issues/36/comments'
},
commits: {
href: 'https://api.github.com/repos/Liam-Deacon/phaseshifts/pulls/36/commits'
},
html: {
href: 'https://github.com/Liam-Deacon/phaseshifts/pull/36'
},
issue: {
href: 'https://api.github.com/repos/Liam-Deacon/phaseshifts/issues/36'
},
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/36/comments'
},
self: {
href: 'https://api.github.com/repos/Liam-Deacon/phaseshifts/pulls/36'
},
statuses: {
href: 'https://api.github.com/repos/Liam-Deacon/phaseshifts/statuses/d28b11fca68fb4f6da1829ba7e550436c13e582c'
}
},
active_lock_reason: null,
additions: 3999,
assignee: {
avatar_url: 'https://avatars.githubusercontent.com/u/3184694?v=4',
events_url: 'https://api.github.com/users/Liam-Deacon/events{/privacy}',
followers_url: 'https://api.github.com/users/Liam-Deacon/followers',
following_url: 'https://api.github.com/users/Liam-Deacon/following{/other_user}',
gists_url: 'https://api.github.com/users/Liam-Deacon/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/Liam-Deacon',
id: 3184694,
login: 'Liam-Deacon',
node_id: 'MDQ6VXNlcjMxODQ2OTQ=',
organizations_url: 'https://api.github.com/users/Liam-Deacon/orgs',
received_events_url: 'https://api.github.com/users/Liam-Deacon/received_events',
repos_url: 'https://api.github.com/users/Liam-Deacon/repos',
site_admin: false,
starred_url: 'https://api.github.com/users/Liam-Deacon/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/Liam-Deacon/subscriptions',
type: 'User',
url: 'https://api.github.com/users/Liam-Deacon'
},
assignees: [
{
avatar_url: 'https://avatars.githubusercontent.com/u/3184694?v=4',
events_url: 'https://api.github.com/users/Liam-Deacon/events{/privacy}',
followers_url: 'https://api.github.com/users/Liam-Deacon/followers',
following_url: 'https://api.github.com/users/Liam-Deacon/following{/other_user}',
gists_url: 'https://api.github.com/users/Liam-Deacon/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/Liam-Deacon',
id: 3184694,
login: 'Liam-Deacon',
node_id: 'MDQ6VXNlcjMxODQ2OTQ=',
organizations_url: 'https://api.github.com/users/Liam-Deacon/orgs',
received_events_url: 'https://api.github.com/users/Liam-Deacon/received_events',
repos_url: 'https://api.github.com/users/Liam-Deacon/repos',
site_admin: false,
starred_url: 'https://api.github.com/users/Liam-Deacon/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/Liam-Deacon/subscriptions',
type: 'User',
url: 'https://api.github.com/users/
|