feat: unify models to one model instead of 3 separate ones #398
Annotations
2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '11350528095',
status: 422,
response: {
url: 'https://api.github.com/repos/django-commons/django-tasks-scheduler/releases/175097200',
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, 15 Oct 2024 16:53:12 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': '2906:159D31:10185223:1ED1E6C5:670E9DF8',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4979',
'x-ratelimit-reset': '1729014032',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '21',
'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/django-commons/django-tasks-scheduler/releases/175097200',
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\\n* No changes\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v2.1.1 🌈","tag_name":"v2.1.1","target_commitish":"refs/pull/176/merge"}',
request: {}
},
event: {
id: '11350528095',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '32ac983ab1539c9dd7a83978f38ca01b845448dd',
before: 'e8c8764d7a2a826c10a247701f3273a75df64ad0',
number: 176,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/161911044?v=4',
description: '',
events_url: 'https://api.github.com/orgs/django-commons/events',
hooks_url: 'https://api.github.com/orgs/django-commons/hooks',
id: 161911044,
issues_url: 'https://api.github.com/orgs/django-commons/issues',
login: 'django-commons',
members_url: 'https://api.github.com/orgs/django-commons/members{/member}',
node_id: 'O_kgDOCaaRBA',
public_members_url: 'https://api.github.com/orgs/django-commons/public_members{/member}',
repos_url: 'https://api.github.com/orgs/django-commons/repos',
url: 'https://api.github.com/orgs/django-commons'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/django-commons/django-tasks-scheduler/issues/176/comments'
},
commits: {
href: 'https://api.github.com/repos/django-commons/django-tasks-scheduler/pulls/176/commits'
},
html: {
href: 'https://github.com/django-commons/django-tasks-scheduler/pull/176'
},
issue: {
href: 'https://api.github.com/repos/django-commons/django-tasks-schedule
|
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: '11350528095',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '32ac983ab1539c9dd7a83978f38ca01b845448dd',
before: 'e8c8764d7a2a826c10a247701f3273a75df64ad0',
number: 176,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/161911044?v=4',
description: '',
events_url: 'https://api.github.com/orgs/django-commons/events',
hooks_url: 'https://api.github.com/orgs/django-commons/hooks',
id: 161911044,
issues_url: 'https://api.github.com/orgs/django-commons/issues',
login: 'django-commons',
members_url: 'https://api.github.com/orgs/django-commons/members{/member}',
node_id: 'O_kgDOCaaRBA',
public_members_url: 'https://api.github.com/orgs/django-commons/public_members{/member}',
repos_url: 'https://api.github.com/orgs/django-commons/repos',
url: 'https://api.github.com/orgs/django-commons'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/django-commons/django-tasks-scheduler/issues/176/comments'
},
commits: {
href: 'https://api.github.com/repos/django-commons/django-tasks-scheduler/pulls/176/commits'
},
html: {
href: 'https://github.com/django-commons/django-tasks-scheduler/pull/176'
},
issue: {
href: 'https://api.github.com/repos/django-commons/django-tasks-scheduler/issues/176'
},
review_comment: {
href: 'https://api.github.com/repos/django-commons/django-tasks-scheduler/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/django-commons/django-tasks-scheduler/pulls/176/comments'
},
self: {
href: 'https://api.github.com/repos/django-commons/django-tasks-scheduler/pulls/176'
},
statuses: {
href: 'https://api.github.com/repos/django-commons/django-tasks-scheduler/statuses/32ac983ab1539c9dd7a83978f38ca01b845448dd'
}
},
active_lock_reason: null,
additions: 1498,
assignee: null,
assignees: [],
author_association: 'MEMBER',
auto_merge: null,
base: {
label: 'django-commons:master',
ref: 'master',
repo: {
allow_auto_merge: false,
allow_forking: true,
allow_merge_commit: true,
allow_rebase_merge: false,
allow_squash_merge: true,
allow_update_branch: true,
archive_url: 'https://api.github.com/repos/django-commons/django-tasks-scheduler/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/django-commons/django-tasks-scheduler/assignees{/user}',
blobs_url: 'https://api.github.com/repos/django-commons/django-tasks-scheduler/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/django-commons/django-tasks-scheduler/branches{/branch}',
clone_url: 'https://github.com/django-commons/django-tasks-scheduler.git',
collaborators_url: 'https://api.github.com/repos/django-commons/django-tasks-scheduler/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/django-commons/django-tasks-scheduler/comments{/number}',
commits_url: 'https://api.github.com/repos/django-commons/django-tasks-scheduler/commits{/sha}',
compare_url: 'https://api.github.com/repos/django-commons/django-tasks-sche
|