Add job to generate documentation for Infrahub configuration #7404
release-note.yml
on: pull_request
update_infrahub_release_draft
9s
update_python_sdk_release_draft
8s
Annotations
4 errors
update_python_sdk_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '9347581060',
status: 422,
response: {
url: 'https://api.github.com/repos/opsmill/infrahub/releases/157636095',
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, 03 Jun 2024 09:20:18 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': 'FC85:CDA1:EC22773:1931C99E:665D8AD2',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4899',
'x-ratelimit-reset': '1717408975',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '101',
'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/157636095',
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## 🧰 Maintenance\\n\\n- Upgrade ruff=0.4.6 @ogenstad (#3548)\\n- Fix Ruff PTH120: `os.path.dirname()` should be replaced by `Path.parent` @gmazoyer (#3541)\\n- Fix Ruff PTH122: `os.path.splitext()` should be replaced @gmazoyer (#3536)\\n- Indicate that we aren\'t using md5 for security checks @ogenstad (#3537)\\n- Activate ruff rules for bandit security checks @ogenstad (#3532)\\n- Fix Ruff PTH123: `open()` should be replaced by `Path.open()` @gmazoyer (#3529)\\n- Fix Ruff PTH207: Replace `glob` with `Path.glob` @gmazoyer (#3520)\\n","draft":true,"prerelease":false,"make_latest":"true","name":"python_sdk-draft","tag_name":"python-sdk-v","target_commitish":"refs/pull/3553/merge"}',
request: {}
},
event: {
id: '9347581060',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'ac70495a17c9d81a87e8ac6fb146047ac69a5a16',
before: '07efa58d040f6ae55d2aa224a88025d3fb456b3c',
number: 3553,
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/r
|
update_python_sdk_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: '9347581060',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'ac70495a17c9d81a87e8ac6fb146047ac69a5a16',
before: '07efa58d040f6ae55d2aa224a88025d3fb456b3c',
number: 3553,
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/3553/comments'
},
commits: {
href: 'https://api.github.com/repos/opsmill/infrahub/pulls/3553/commits'
},
html: { href: 'https://github.com/opsmill/infrahub/pull/3553' },
issue: {
href: 'https://api.github.com/repos/opsmill/infrahub/issues/3553'
},
review_comment: {
href: 'https://api.github.com/repos/opsmill/infrahub/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/opsmill/infrahub/pulls/3553/comments'
},
self: {
href: 'https://api.github.com/repos/opsmill/infrahub/pulls/3553'
},
statuses: {
href: 'https://api.github.com/repos/opsmill/infrahub/statuses/ac70495a17c9d81a87e8ac6fb146047ac69a5a16'
}
},
active_lock_reason: null,
additions: 915,
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/
|
update_infrahub_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '9347581060',
status: 422,
response: {
url: 'https://api.github.com/repos/opsmill/infrahub/releases/157649450',
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, 03 Jun 2024 09:20:19 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': 'CC90:7A2E8:7D7017:E7A76F:665D8AD3',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4898',
'x-ratelimit-reset': '1717408975',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '102',
'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/157649450',
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- update otto @petercrocker (#3498)\\n\\n## 🚀 Features\\n\\n- Add a custom page to better display a graphql query @bilalabbad (#3504)\\n\\n## 🐛 Bug Fixes\\n\\n- Validate attribute kind are the same when inheriting attributes @FragmentedPacket (#3523)\\n\\n## 🧰 Maintenance\\n\\n- Fixes to typehints for GraphQL types @ogenstad (#3559)\\n- Fixes to typehints on standard\\\\_node @ogenstad (#3556)\\n- Work on typehints for core.query @ogenstad (#3555)\\n- Migrate exception handler to pydantic v2 @ogenstad (#3549)\\n- Upgrade ruff=0.4.6 @ogenstad (#3548)\\n- Upgrade pydantic=2.7.2 @ogenstad (#3546)\\n- Fix Ruff PTH120: `os.path.dirname()` should be replaced by `Path.parent` @gmazoyer (#3541)\\n- Migrate diff api to pydantic v2 @ogenstad (#3543)\\n- Migrate repository to pydantic v2 @ogenstad (#3539)\\n- Fix Ruff PTH122: `os.path.splitext()` should be replaced @gmazoyer (#3536)\\n- Replace Pydantic v1 with v2 @ogenstad (#3535)\\n- Indicate that we aren\'t using md5 for security checks @ogenstad (#3537)\\n- Remove \\\\*args from Query and subclasses @ogenstad (#3525)\\n- Fix some typing issues in the schema manager @ogenstad (#3530)\\n- Fix Ruff PTH123: `open()` should be replaced by `Path.open()` @gmazoyer (#3529)\\n- Fix Ruff PTH207: Replace `glob` with `Path.glob` @gmazoyer (#3520)\\n- Integration test for pool selector display @pa-lem (#3508)\\n- Fix Ruff N811: Constant imported as non-constant @ogenstad (#3517)\\n- Switch to list since List is a Graphene import @ogenstad (#3518)\\n- Avoid star-arg unpacking after keyword arguments @ogenstad (#3510)\\n","draft":true,"prerelease":false,"make_latest":"true","name":"infrahub-draft","tag_name":"infrahub-v","target_commitish":"refs/pull/3553/merge"}',
request: {}
},
event: {
id: '934
|
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: '9347581060',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'ac70495a17c9d81a87e8ac6fb146047ac69a5a16',
before: '07efa58d040f6ae55d2aa224a88025d3fb456b3c',
number: 3553,
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/3553/comments'
},
commits: {
href: 'https://api.github.com/repos/opsmill/infrahub/pulls/3553/commits'
},
html: { href: 'https://github.com/opsmill/infrahub/pull/3553' },
issue: {
href: 'https://api.github.com/repos/opsmill/infrahub/issues/3553'
},
review_comment: {
href: 'https://api.github.com/repos/opsmill/infrahub/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/opsmill/infrahub/pulls/3553/comments'
},
self: {
href: 'https://api.github.com/repos/opsmill/infrahub/pulls/3553'
},
statuses: {
href: 'https://api.github.com/repos/opsmill/infrahub/statuses/ac70495a17c9d81a87e8ac6fb146047ac69a5a16'
}
},
active_lock_reason: null,
additions: 915,
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/
|