Repository navigation
ci: unify test, tag and propagate in one workflow - #19
Merged
Merged
Conversation
Three workflows with chained triggers (test on push, tag on push, propagate via workflow_run of the tag workflow) made the pipeline relationship invisible in the runs list. Merge them into a single Template CI workflow with three jobs: - pull_request: test only (PR checks unchanged) - push to main: test -> tag -> propagate; tests now gate the tag, so a broken main no longer propagates to the plugins - workflow_dispatch: propagate only, as before Permissions, job names and concurrency behavior are preserved; the propagate job keeps resolving the latest tag at runtime, which also covers manual tag pushes and manual re-runs.
Workflow-only PRs (like this one) matched none of the pull_request paths and got no CI at all. Include .github/** so changes to the pipeline itself are at least linted.
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
Replace the three separate workflows (
test.yaml,tag.yaml,propagate.yaml) with a single Template CI workflow (three jobs) so the pipeline is visible as one run instead of three loosely-related ones.Details
taghasneeds: test, so a red main no longer tags, andpropagatehasneeds: tag— nothing broken reaches the plugin repositories. Previously all three fired independently.Test template, tag serialization,propagate-template); permissions moved to job level (tag: contents write,propagate: contents read), with an empty top-levelpermissions: {}.workflow_dispatchwith an optional tag.Verification
{test, tag, propagate}.Assisted-by: OpenRouter:z-ai/glm-5.3-flash pi