Skip to content

Run release checks on *-rc branches#14271

Open
Sudha247 wants to merge 2 commits intoocaml:mainfrom
Sudha247:ci-actions-rc
Open

Run release checks on *-rc branches#14271
Sudha247 wants to merge 2 commits intoocaml:mainfrom
Sudha247:ci-actions-rc

Conversation

@Sudha247
Copy link
Copy Markdown
Collaborator

Fixes #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.

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>
- uses: actions/checkout@v4

- id: filter
uses: dorny/paths-filter@v4
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 *-rc branches.
  • Trigger the isolated package build workflow on pushes to *-rc branches and add change-detection logic for main pushes.

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.

Comment thread .github/workflows/isolated-package-build.yml Outdated
Comment thread .github/workflows/isolated-package-build.yml Outdated
Comment thread .github/workflows/isolated-package-build.yml Outdated
Signed-off-by: Sudha Parimala <sudharg247@gmail.com>
@Sudha247 Sudha247 requested a review from shonfeder April 20, 2026 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Run all release checks on *-rc branches

2 participants