Skip to content

fix(ci): accept from-head and bump on dispatch, like the rest of the fleet - #13

Merged
catinspace-au merged 1 commit into
mainfrom
fix/dispatch-inputs
Aug 3, 2026
Merged

fix(ci): accept from-head and bump on dispatch, like the rest of the fleet#13
catinspace-au merged 1 commit into
mainfrom
fix/dispatch-inputs

Conversation

@catinspace-au

Copy link
Copy Markdown
Contributor

hyperi-ci publish sends tag, from-head and bump. This caller declared only tag, and declared it required: true - so a release from HEAD 422'd before the plan job started, and even a tag dispatch was the only path available.

workflow_dispatch.inputs only work when declared in the workflow that RECEIVES the event, so the reusable workflow cannot supply them. Every caller declares and forwards them itself, and drifts on its own.

Found by hyperi-ci audit-callers (hyperi-io/hyperi-ci#88), which reports drift against the dispatch contract instead of waiting for the next release to fail. This repo was never in the manual audit that issue started from.

Verified: hyperi-ci audit-callers --project-dir . is clean on this branch.

Done when a release from HEAD dispatches instead of 422ing.

…fleet

`hyperi-ci publish` sends tag, from-head and bump. This caller did not declare
all three, so a release from HEAD failed with HTTP 422 before the plan job
started.

workflow_dispatch.inputs only work when declared in the workflow that RECEIVES
the event, so the reusable workflow cannot supply them - every caller declares
and forwards them itself, and drifts on its own.

Found by `hyperi-ci audit-callers`, which reports this against the dispatch
contract rather than waiting for the next release to fail (hyperi-ci#88).
@catinspace-au
catinspace-au merged commit 35e8c58 into main Aug 3, 2026
17 checks passed
@catinspace-au
catinspace-au deleted the fix/dispatch-inputs branch August 3, 2026 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant