ci: one-click Trigger Release (dispatcher) - #204
Merged
Conversation
A workflow_dispatch workflow (clickable from the Actions tab) that delegates to the shared reusable workflow helly25/bzl/.github/workflows/trigger_release.yaml via 'secrets: inherit'. It validates the MODULE.bazel/CHANGELOG.md version (identical, not tagged, not released) and runs tools/trigger_release.sh. Requires org secrets RELEASE_TOKEN, RELEASE_GPG_PRIVATE_KEY, RELEASE_GPG_PASSPHRASE. Effective once helly25/bzl#39 merges.
checkov CKV_GHA_7 flags user-supplied workflow inputs. The release version always comes from MODULE.bazel, so the optional 'version' input was unnecessary; removing it clears the finding and simplifies the dispatcher (and the reusable workflow drops the matching input).
After dropping the inputs, a bare 'workflow_dispatch:' is a null block-mapping value (yamllint/empty-values). Use the explicit empty mapping, matching publish.yaml.
Fab-Cat
approved these changes
Jun 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
.github/workflows/trigger_release.yml-- aworkflow_dispatchyou run from the repo's Actions tab ("Trigger Release" -> "Run workflow").It delegates to the shared reusable workflow helly25/bzl#39 (
secrets: inherit), which checks out mbo'smain, verifies theMODULE.bazel/CHANGELOG.mdversion is identical and neither tagged nor released, then runstools/trigger_release.sh(signed tag -> release.yml -> GitHub release + BCR, plus the bump PR).Depends on: helly25/bzl#39 (merge first) and org secrets
RELEASE_TOKEN,RELEASE_GPG_PRIVATE_KEY,RELEASE_GPG_PASSPHRASE.Leave the
versioninput blank to release the version currently inMODULE.bazel.