[mlrun] Add manual bump workflow#1146
Merged
Merged
Conversation
Adds a workflow_dispatch GitHub Action that bumps the mlrun chart's appVersion and image tags to a chosen MLRun version, bumps the chart's own version (patch/minor/major), opens a PR against development. The workflow is idempotent on re-runs: re-running for the same version force-pushes the topic branch and skips PR creation if one is already open for it.
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.
Description
Adds
.github/workflows/bump-mlrun.yml, a manually-dispatched workflow that takes a desired MLRun version (e.g.1.10.3) and a chart bump level (patch/minor/major), then opens a PR againstdevelopmentwith the corresponding chart update.Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove irrelevant fields.]
[mychartname])What it does
x.y.zsemver.stable/mlrun/Chart.yamlversion(per chart bump level) andappVersion(to the input).stable/mlrun/values.yaml(mlrun-api,log-collector,mlrun-ui) using targetedsedso the diff is minimal and matches the style of prior manual bump PRs (e.g. [mlrun] bump mlrun to 1.10.0 #1118, [mlrun] bump mlrun to 1.10.1 #1130, [mlrun] bump mlrun to 1.10.2 #1134).bump-mlrun-<version>and force-pushes it.development, or skips PR creation if one is already open for the branch (so re-runs just update the branch).Re-run behavior
The branch name is deterministic per version, so re-dispatching for the same version overwrites the topic branch and either updates the existing PR or — if no PR exists yet — creates one.
Validation
Smoke-tested locally with
act(withghandgit pushstubbed). All steps succeed and produce the expected 5-line diff (Chart.yaml:version,appVersion; values.yaml: threetaglines).