Fix typing for graphql.resolver #10352
release-note.yml
on: pull_request
update_infrahub_release_draft
6s
Annotations
2 errors
update_infrahub_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '11204309770',
status: 422,
response: {
url: 'https://api.github.com/repos/opsmill/infrahub/releases/168084372',
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: 'Sun, 06 Oct 2024 18:43:11 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': '8045:25DE03:B02978D:B1D939D:6702DA3F',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4953',
'x-ratelimit-reset': '1728240636',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '47',
'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/opsmill/infrahub/releases/168084372',
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":"## Changelog\\n\\n- merge stable to develop @ajtmccarty (#4547)\\n- IFC-751 save diff in smaller pieces to prevent OOM @ajtmccarty (#4544)\\n- Merge infrahub-git agent and task runner into task-worker @dgarros (#4533)\\n- fix diff calculation bug around deleted edges @ajtmccarty (#4532)\\n- chore: fix pipeline docker image @wartraxx51 (#4536)\\n- Remove filters from the schema @dgarros (#4525)\\n- chore: dynamic port pipeline @wartraxx51 (#4524)\\n- Migration of schema migrations and validations to prefect @dgarros (#4401)\\n- Merging `stable` down to `develop` post v0.16.2 @lykinsbd (#4513)\\n\\n## 🚀 Features\\n\\n- Added breadcrumb based on current route @bilalabbad (#4521)\\n- Add OIDC support and cleanup of OAuth2 @ogenstad (#4531)\\n- IFC-671 Lock branch and proposed change merge with global permissions @gmazoyer (#4443)\\n- Switch font to Inter @bilalabbad (#4527)\\n- Parametrize demo edge script @BaptisteGi (#4374)\\n- New layout for Infrahub UI - Part 1 - Initial structure @bilalabbad (#4508)\\n- Add READ and DELETE views for permissions @pa-lem (#4478)\\n\\n## 🧰 Maintenance\\n\\n- Add guides for OAuth2 and OICD @ogenstad (#4537)\\n- Cleanup tests dependencies @dgarros (#4515)\\n- Add support for custom CA bundles to http.adapter @ogenstad (#4526)\\n- Fix custom provider and swap out json -> data in payload @ogenstad (#4528)\\n- Split `infrahub.core.schema_manager` into multiple files @dgarros (#4514)\\n- Add `invoke pull` command to pull latest changes from git @dgarros (#4518)\\n","draft":true,"prerelease":false,"make_latest":"true","name":"infrahub-draft","tag_name":"infrahub-v","target_commitish":"refs/pull/4551/merge"}',
request: {}
},
event: {
id: '11204309770',
name: 'pull_request',
payload: {
|
update_infrahub_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: '11204309770',
name: 'pull_request',
payload: {
action: 'opened',
number: 4551,
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/4551/comments'
},
commits: {
href: 'https://api.github.com/repos/opsmill/infrahub/pulls/4551/commits'
},
html: { href: 'https://github.com/opsmill/infrahub/pull/4551' },
issue: {
href: 'https://api.github.com/repos/opsmill/infrahub/issues/4551'
},
review_comment: {
href: 'https://api.github.com/repos/opsmill/infrahub/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/opsmill/infrahub/pulls/4551/comments'
},
self: {
href: 'https://api.github.com/repos/opsmill/infrahub/pulls/4551'
},
statuses: {
href: 'https://api.github.com/repos/opsmill/infrahub/statuses/74ba089af6347c4cb0a1e5a53e06e92c7825db8f'
}
},
active_lock_reason: null,
additions: 84,
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/infrahub/deployments',
description: 'Infrahub - A new approach to Infrastructure Management',
di
|