Skip to content

ci: Restore draft release creation when pushing tags - #294

Merged
qmonnet merged 1 commit into
libbpf:mainfrom
qmonnet:pr/fix-release-workflow
Oct 7, 2026
Merged

qmonnet merged 1 commit into
libbpf:mainfrom
qmonnet:pr/fix-release-workflow

Conversation

@qmonnet

@qmonnet qmonnet commented Oct 7, 2026

Copy link
Copy Markdown
Member

When adjusting the release workflow to support starting it via manual dispatch, it looks like we broke the automated version supposed to run when pushing tags: the draft-release has no "if:" condition, which GitHub apparently interprets as "if: success()", covering all the chain of job dependencies, which we fail to pass because the initial "validate-tag" job is skipped (and does not pass with success) in that case. Fix it by adding the relevant conditions.

When adjusting the release workflow to support starting it via manual
dispatch, it looks like we broke the automated version supposed to run
when pushing tags: the draft-release has no "if:" condition, which
GitHub apparently interprets as "if: success()", covering all the chain
of job dependencies, which we fail to pass because the initial
"validate-tag" job is skipped (and does not pass with success) in that
case. Fix it by adding the relevant conditions.

Fixes: ce0f9de ("ci: Make release workflow work on manual dispatch")
Signed-off-by: Quentin Monnet <qmo@kernel.org>
@qmonnet
qmonnet merged commit 5d524ea into libbpf:main Oct 7, 2026
2 checks passed
@qmonnet
qmonnet deleted the pr/fix-release-workflow branch October 7, 2026 14:52
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