Skip to content

ci: one-click Trigger Release (dispatcher) - #204

Merged
helly25 merged 3 commits into
mainfrom
ci/trigger-release-dispatcher
Jun 27, 2026
Merged

ci: one-click Trigger Release (dispatcher)#204
helly25 merged 3 commits into
mainfrom
ci/trigger-release-dispatcher

Conversation

@helly25

@helly25 helly25 commented Jun 27, 2026

Copy link
Copy Markdown
Owner

Adds .github/workflows/trigger_release.yml -- a workflow_dispatch you 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's main, verifies the MODULE.bazel/CHANGELOG.md version is identical and neither tagged nor released, then runs tools/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 version input blank to release the version currently in MODULE.bazel.

helly25 added 3 commits June 27, 2026 11:56
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.
@helly25
helly25 requested a review from Fab-Cat June 27, 2026 16:51
@helly25
helly25 merged commit 1343daf into main Jun 27, 2026
38 checks passed
@helly25
helly25 deleted the ci/trigger-release-dispatcher branch June 27, 2026 16:53
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.

2 participants