Repository navigation
ci: let the workflow be started by hand - #20
Merged
Merged
Conversation
Everything runs as before: check, build and security on every pull request and push to main, the image on main and release tags. What is new is a manual trigger, so a check can be rerun or an image published without a new push. A manual run publishes the image only when its publish_image input is set, and only from main, so `latest` cannot be overwritten from a feature branch. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
RohanReddy44
force-pushed
the
ci/run-on-demand
branch
from
September 24, 2026 07:21
25e3079 to
cb046b4
Compare
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.
What changed
A
workflow_dispatchtrigger on the CI workflow. Everything that ran before still runs: check, build and security on every pull request and push to main, and the image on main and release tags.New:
gh workflow run ci.yml --ref <branch>reruns the checks on any branch without a push.gh workflow run ci.yml --ref main -f publish_image=truealso publishes the image. The input is ignored from any branch other than main, solatestcannot be overwritten from a feature branch.One sentence added to CONVENTIONS.
Verified
workflow_dispatch,pull_requestandpush(main and tags), as before plus the manual one.🤖 Generated with Claude Code