chore(codespace): reduce start time of codespaces #5551
Annotations
2 errors
Run release-drafter/release-drafter@v6
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '8546208267',
status: 422,
response: {
url: 'https://api.github.com/repos/opsmill/infrahub/releases/137773487',
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: 'Wed, 03 Apr 2024 22:15:16 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': '1340:4B7B:1F3DFC0:32A0A93:660DD4F4',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4947',
'x-ratelimit-reset': '1712184325',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '53',
'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/opsmill/infrahub/releases/137773487',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.8.1 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"body":"## Changelog\\n\\n- Add support for Database Indexes @dgarros (#2743)\\n- Add query testing framework @dgarros (#2748)\\n- Adjust CORS related default settings and make them changeable @gmazoyer (#2738)\\n- Convert infrahub db and event commands to use AsyncTyper @dgarros (#2735)\\n\\n## 🚀 Features\\n\\n- Add kbd component + display shortcut on search bar @bilalabbad (#2800)\\n- Redesigned proposed change creation form @bilalabbad (#2797)\\n- Add ability to import generators from repositories @ogenstad (#2787)\\n- Update filters UI and logic @pa-lem (#2788)\\n- feat(sdk): add support for using proxies @wvandeun (#2739)\\n- Add --list parameter for infrahubctl render @ogenstad (#2749)\\n- parent component schema relationship validation @ajtmccarty (#2740)\\n- New icons and tooltips for menu links @pa-lem (#2742)\\n- In search anywhere, you can find go to link to model\'s schema @bilalabbad (#2728)\\n- Objects list search @pa-lem (#2711)\\n\\n## 🐛 Bug Fixes\\n\\n- Change IP attributes `prefixlen` to integer instead of string @gmazoyer (#2799)\\n- more uniqueness\\\\_constraint unit tests, and a fix @ajtmccarty (#2789)\\n- fix index error on DiffSummary @ajtmccarty (#2760)\\n\\n## 🧰 Maintenance\\n\\n- Update frontend dependencies @bilalabbad (#2802)\\n- use Content.Title in all page header @bilalabbad (#2801)\\n- Add schema nodes for generators @ogenstad (#2770)\\n- Fix linting C419 Unnecessary list comprehension. @ogenstad (#2777)\\n- Allow to define profile and runtime when executing Cypher query @dgarros (#2734)\\n","draft":true,"prerelease":false,"make_latest":"true","name":"infrahub-draft","tag_name":"infrahub-v","target_commitish":"refs/pull/2807/merge"}',
request: {}
},
event: {
id: '8546208267',
name: 'pull_request',
payload: {
|
Run release-drafter/release-drafter@v6
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: '8546208267',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'a20b6e8e1425d04a0a71d18837d19a129987a38b',
before: '85e3a2ae605ab6f8188118edb07d9acd7a3cf8ce',
number: 2807,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/118297816?v=4',
description: 'Infrahub by OpsMill',
events_url: 'https://api.github.com/orgs/opsmill/events',
hooks_url: 'https://api.github.com/orgs/opsmill/hooks',
id: 118297816,
issues_url: 'https://api.github.com/orgs/opsmill/issues',
login: 'opsmill',
members_url: 'https://api.github.com/orgs/opsmill/members{/member}',
node_id: 'O_kgDOBw0U2A',
public_members_url: 'https://api.github.com/orgs/opsmill/public_members{/member}',
repos_url: 'https://api.github.com/orgs/opsmill/repos',
url: 'https://api.github.com/orgs/opsmill'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/opsmill/infrahub/issues/2807/comments'
},
commits: {
href: 'https://api.github.com/repos/opsmill/infrahub/pulls/2807/commits'
},
html: { href: 'https://github.com/opsmill/infrahub/pull/2807' },
issue: {
href: 'https://api.github.com/repos/opsmill/infrahub/issues/2807'
},
review_comment: {
href: 'https://api.github.com/repos/opsmill/infrahub/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/opsmill/infrahub/pulls/2807/comments'
},
self: {
href: 'https://api.github.com/repos/opsmill/infrahub/pulls/2807'
},
statuses: {
href: 'https://api.github.com/repos/opsmill/infrahub/statuses/a20b6e8e1425d04a0a71d18837d19a129987a38b'
}
},
active_lock_reason: null,
additions: 1,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: null,
base: {
label: 'opsmill:develop',
ref: 'develop',
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/opsmill/infrahub/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/opsmill/infrahub/assignees{/user}',
blobs_url: 'https://api.github.com/repos/opsmill/infrahub/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/opsmill/infrahub/branches{/branch}',
clone_url: 'https://github.com/opsmill/infrahub.git',
collaborators_url: 'https://api.github.com/repos/opsmill/infrahub/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/opsmill/infrahub/comments{/number}',
commits_url: 'https://api.github.com/repos/opsmill/infrahub/commits{/sha}',
compare_url: 'https://api.github.com/repos/opsmill/infrahub/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/opsmill/infrahub/contents/{+path}',
contributors_url: 'https://api.github.com/repos/opsmill/infrahub/contributors',
created_at: '2022-08-25T10:25:23Z',
default_branch: 'develop',
delete_branch_on_merge: true,
deployments_url: 'https://api.github.com/repos/opsmill/in
|
Loading