Open
Conversation
Fixes ocaml#14268. Runs the isolated package build and mirage workflows on all `rc` branches. This will reduce the step of manually triggering the workflows on release candidate branches. Signed-off-by: Sudha Parimala <sudharg247@gmail.com>
Sudha247
commented
Apr 20, 2026
| - uses: actions/checkout@v4 | ||
|
|
||
| - id: filter | ||
| uses: dorny/paths-filter@v4 |
Collaborator
Author
There was a problem hiding this comment.
I had to use this because there doesn't seem to be a way in GitHub Actions to specify path filters for certain branches. It's applied to all branches, but we want to run this job on main only if there's a change in the opam files. cc @shonfeder
There was a problem hiding this comment.
Pull request overview
Updates CI triggers so release-candidate branches (*-rc) automatically run key release checks, reducing manual workflow dispatch during the release process.
Changes:
- Trigger the Mirage workflow on pushes to
*-rcbranches. - Trigger the isolated package build workflow on pushes to
*-rcbranches and add change-detection logic formainpushes.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| .github/workflows/mirage.yml | Adds push branch trigger for *-rc branches. |
| .github/workflows/isolated-package-build.yml | Extends branch triggers to *-rc and adds an opam paths filter job + conditional execution logic. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Signed-off-by: Sudha Parimala <sudharg247@gmail.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.
Fixes #14268.
Runs the isolated package build and mirage workflows on all
rcbranches. This will reduce the step of manually triggering the workflows on release candidate branches.