Merge the minor and patch release workflows into one - #1430
Merged
martindevans merged 2 commits intoAug 24, 2026
Conversation
The two pairs were identical apart from their names once the version moved into LLamaSharp.csproj, so they are now a single release-trigger/release pair accepting either label. That also fixes labelling a PR with both labels, which used to release nothing because each trigger excluded the other's.
Contributor
There was a problem hiding this comment.
Pull request overview
Consolidates the minor/patch release automation by replacing separate trigger workflows with a single PR-label-gated trigger workflow that fans into the existing NuGet/doc/HF publishing workflow via workflow_run.
Changes:
- Renamed the main release workflow and updated its
workflow_rundependency to a new unified trigger workflow. - Added a new
release-triggerworkflow that runs (does no work) only when a merged PR intomasterhas eitherminor-releaseorpatch-releaselabel. - Removed the redundant patch release workflow and the two separate minor/patch trigger workflows.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/release.yml | Renames the workflow and retargets the workflow_run trigger to the new unified trigger workflow. |
| .github/workflows/release-trigger.yml | New unified PR-label-gated trigger workflow used to gate releases via workflow_run. |
| .github/workflows/release-patch.yml | Removes the now-redundant patch release workflow (release logic is consolidated into release.yml). |
| .github/workflows/release-patch-trigger.yml | Removes the patch-only trigger workflow (superseded by release-trigger.yml). |
| .github/workflows/release-minor-trigger.yml | Removes the minor-only trigger workflow (superseded by release-trigger.yml). |
馃挕 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
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.
As discussed in Discord. The new trigger doesn't have the old checkout/setup-dotnet because it wasn't used for anything (trigger doesn't build anything, no artifacts/outputs).