IFC-993 Fix uniqueness constraint with enum attributes #12685
release-note.yml
on: pull_request
update_infrahub_release_draft
8s
Annotations
2 errors and 1 warning
update_infrahub_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '12298061761',
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: 'Thu, 12 Dec 2024 14:07:07 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': 'E460:14016E:A039B9:13DD2B1:675AEE0B',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4983',
'x-ratelimit-reset': '1734015389',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '17',
'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.18.0 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"body":"## Changelog\\n\\n- refactor ipam unit tests to maintain data @ajtmccarty (#5163)\\n- handle generics and generics peers correctly when deleting nodes @ajtmccarty (#5133)\\n- Bump the npm\\\\_and\\\\_yarn group across 2 directories with 6 updates @dependabot (#5177)\\n- Fix error with `pool` as relationship name @LucasG0 (#5187)\\n- Initialize services for infrahub db update-core-schema @LucasG0 (#5186)\\n- Release 1.0.9 beta @lykinsbd (#5168)\\n- Merge stable into release-1.1 @LucasG0 (#5141)\\n- Add CoreProfile to database @ogenstad (#5170)\\n- Define as @classmethod and remove noqa statements @ogenstad (#5176)\\n- Rm fix doc typo shell @rmaunier (#5169)\\n- fix typo in doc @rmaunier (#5167)\\n- Convert EventBranchRebased to InfrahubEvent @LucasG0 (#5088)\\n- update doc for MacOs install @rmaunier (#5159)\\n- Fix error message returned while querying for a missing repository file @LucasG0 (#5139)\\n- Review the overview @BaptisteGi (#5143)\\n- move imports into functions to allow `invoke` execution @lykinsbd (#5160)\\n- initial CI and invoke tasks for releases @lykinsbd (#5156)\\n- chore(ci): remove legacy chart repo @fatih-acar (#5148)\\n- fix(ci): add workflow\\\\_dispatch for publish pypi @fatih-acar (#5147)\\n- Update relationship one input style on required error state @pa-lem (#5146)\\n- fix(ci): release workflow for preview releases and pypi publish (1.0.9-beta cherry-pick) @fatih-acar (#5145)\\n- fix(ci): release workflow for preview releases and pypi publish (1.1 cherry-pick) @fatih-acar (#5144)\\n- Update relationship field to use new combobox and improve UI/UX @pa-lem (#5093)\\n- Refresh branch hash in cache for local worker on create @ogenstad (#5138)\\n\\n## 🚀 Features\\n\\n- On generic schema viewer, display \\"Hiera
|
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: '12298061761',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '5acf443df1f89ed6d988c840c49100971cb4770a',
before: 'fb26b6fa7c7187375c9962b10d50f71581fe6dfe',
number: 5195,
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/5195/comments'
},
commits: {
href: 'https://api.github.com/repos/opsmill/infrahub/pulls/5195/commits'
},
html: { href: 'https://github.com/opsmill/infrahub/pull/5195' },
issue: {
href: 'https://api.github.com/repos/opsmill/infrahub/issues/5195'
},
review_comment: {
href: 'https://api.github.com/repos/opsmill/infrahub/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/opsmill/infrahub/pulls/5195/comments'
},
self: {
href: 'https://api.github.com/repos/opsmill/infrahub/pulls/5195'
},
statuses: {
href: 'https://api.github.com/repos/opsmill/infrahub/statuses/5acf443df1f89ed6d988c840c49100971cb4770a'
}
},
active_lock_reason: null,
additions: 40,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: null,
base: {
label: 'opsmill:release-1.1',
ref: 'release-1.1',
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: 'stable',
delete_branch_on_merge: true,
deployments_url: 'https://api.github.com/repos/o
|
update_infrahub_release_draft
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|