Skip to content

Commit

Permalink
add prerelease branches to the PR CI workflow (#5352)
Browse files Browse the repository at this point in the history
Following
https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#example-including-branches,
we can add the prerelease branch pattern `prerelease/**` so that the
usual PR CI is triggered when PRs are opened against prerelease
branches.

This is helpful for verifying backported fixes or fixes targeted for
prerelease branches.

I noticed this when I targeted my fix for #5197 for the prerelease
branch, merged it, but then ran into CI failures in my PR to bring in
the same fix to main. For the patch branch PR, I manually ran the Full
and Windows test suites, but missed the Python one.

### QA Notes

PRs against `prerelease` branches should now automatically kick off the
usual CI workflows that we see for PRs against `main`.
  • Loading branch information
sharon-wang committed Nov 18, 2024
1 parent f37f4f5 commit 9a9d377
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/positron-pull-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
branches:
- main
- 'prerelease/**'

jobs:
positron-ci:
Expand Down

0 comments on commit 9a9d377

Please sign in to comment.