Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add prerelease branches to the PR CI workflow #5352

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

sharon-wang
Copy link
Member

@sharon-wang sharon-wang commented Nov 13, 2024

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

Once this change is backported to a prerelease branch, PRs against prerelease branches should now automatically kick off the usual CI workflows that we see for PRs against main.

This change can be tested when this commit is backported to the prerelease branches in a PR. The PR CI workflow should run.

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.
Copy link
Contributor

@juliasilge juliasilge left a comment

Choose a reason for hiding this comment

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

Thank you!

@sharon-wang sharon-wang merged commit 909d8b6 into main Nov 13, 2024
3 checks passed
@sharon-wang sharon-wang deleted the add-prerelease-branches-to-pr-ci branch November 13, 2024 19:01
@github-actions github-actions bot locked and limited conversation to collaborators Nov 13, 2024
@sharon-wang
Copy link
Member Author

Backporting this change to the prerelease branches:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants