-
Notifications
You must be signed in to change notification settings - Fork 164
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
Allow PR checks to be run against any base branch #1034
Allow PR checks to be run against any base branch #1034
Conversation
Signed-off-by: Daniel Carl Jones <djonesoa@amazon.com>
Thoughts on only extending to feature branches? e.g. |
I don't really have an opinion here, although I'd be inclined to cover additional branch prefixes like |
44777fa
to
f86d4e3
Compare
Since we don't see any clear reason to restrict right now, we'll go ahead an allow PR checks against any branch. In my testing, the workflow wasn't behaving as I expected when trying to restrict it to specific branches. |
Description of change
I've been working in a fork and found that CI wasn't running in the PRs against my feature branch. This meant the code wasn't actually buildable since I'd missed including a file into the PR.
This change will cause all PRs to run integration tests and benchmarks.
We may want to allow a way to disable running actions in the future, but for now we just expand this to cover all base branches.
I'm also leaving
push
events out of scope, although we could consider a similar change. This may have more of an impact on community forks though so I'll leave it as is for now.Does this change impact existing behavior?
It impacts CI only. Pull requests not against
main
as the base branch will now run benchmarks and integration tests.Does this change need a changelog entry in any of the crates?
No.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and I agree to the terms of the Developer Certificate of Origin (DCO).