Convert EventBranchRebased to InfrahubEvent #12438
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: '12137657243',
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: 'Tue, 03 Dec 2024 10:24:31 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': 'C800:3263D:24441F8:47A5A07:674EDC5F',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4910',
'x-ratelimit-reset': '1733221673',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '90',
'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- Migrate schema validation / schema migration @LucasG0 (#5102)\\n- re-enable PTH rules for ruff @dgarros (#5032)\\n- Convert Git repository import methods to prefect tasks @dgarros (#5097)\\n- fix(helm): remove shared storage dependency @fatih-acar (#5111)\\n- Use plain instead of enriched stack traceback @LucasG0 (#5103)\\n- Docs changes for task workers no longer needing shared storage @petercrocker (#5064)\\n- Merge `stable` back into `release-1.1` with resolved conflicts @ogenstad (#5094)\\n- Add sub flow while processing jinja2 computed attribute @dgarros (#5089)\\n- Remove flows for webhooks and node mutated event @ogenstad (#5084)\\n- Wait until schema convergence when syncing a repo with schema updates @ogenstad (#5065)\\n- Update SDK to version 1.1.0 @ogenstad (#5087)\\n- Restore logs for local testing @LucasG0 (#5021)\\n- fix(ci): use forked paths-filter @fatih-acar (#5083)\\n- Loosen requirements for when to regenerate artifacts @ogenstad (#5082)\\n- fix(ci): use forked paths-filter @fatih-acar (#5073)\\n- Stable to release 1.1 @ajtmccarty (#5075)\\n- update ipam reconcile query to handle deleted relationships correctly @ajtmccarty (#5074)\\n- drop tracking id from any diffs using it after a merge completes @ajtmccarty (#5072)\\n- fix request\\\\_generator\\\\_definition\\\\_run to support read-only repositories @ajtmccarty (#5071)\\n- Cherry pick 4978 @BeArchiTek (#5068)\\n- Workflow Catalogue cleanup @dgarros (#5042)\\n- Corrections to branch support for jinja2 attributes @ogenstad (#5053)\\n- Minor cleanup of computed attribute workflows @dgarros (#5043)\\n- Correct branch match for when all branches share the same schema @ogenstad (#5048)\\n- Raise error if pool allocation misses data to create node
|
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: '12137657243',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '369bce45d615c7bf6464111ad4b050f4f06b6814',
before: 'a23db45372ca0dbc1c7e3896c21bb437bea5c7c6',
number: 5088,
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/5088/comments'
},
commits: {
href: 'https://api.github.com/repos/opsmill/infrahub/pulls/5088/commits'
},
html: { href: 'https://github.com/opsmill/infrahub/pull/5088' },
issue: {
href: 'https://api.github.com/repos/opsmill/infrahub/issues/5088'
},
review_comment: {
href: 'https://api.github.com/repos/opsmill/infrahub/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/opsmill/infrahub/pulls/5088/comments'
},
self: {
href: 'https://api.github.com/repos/opsmill/infrahub/pulls/5088'
},
statuses: {
href: 'https://api.github.com/repos/opsmill/infrahub/statuses/369bce45d615c7bf6464111ad4b050f4f06b6814'
}
},
active_lock_reason: null,
additions: 132,
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/
|
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
|