-
Notifications
You must be signed in to change notification settings - Fork 722
Let CI jobs run on all PRs, not just those rooted off master. #7308
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
Conversation
I want to use stack diffs (https://github.com/ezyang/ghstack/) to submit PRs to Cabal. Stack diffs, simply by virtue of what they are, are PRs that are targeted to branches that are not master (they target an appropriate base that lets GitHub render only the change in question, even if there are other changes below it.) However, I don't get CI jobs on those stack diffs because the current pull_request branch selector is too restrictive. This PR makes it less restrictive. This PR is submitted using ghstack to validate that this indeed works. Signed-off-by: Edward Z. Yang <ezyang@fb.com> [ghstack-poisoned]
I want to use stack diffs (https://github.com/ezyang/ghstack/) to submit PRs to Cabal. Stack diffs, simply by virtue of what they are, are PRs that are targeted to branches that are not master (they target an appropriate base that lets GitHub render only the change in question, even if there are other changes below it.) However, I don't get CI jobs on those stack diffs because the current pull_request branch selector is too restrictive. This PR makes it less restrictive. This PR is submitted using ghstack to validate that this indeed works. Signed-off-by: Edward Z. Yang <ezyang@fb.com> ghstack-source-id: b135ea6 Pull Request resolved: #7308
|
@fgaz thoughts on this one? |
|
release branches do get ci though.. how does that happen? how does this interact wit it? also bootstrap is failing |
|
@fgaz IDK how release branches work; my reading of the Actions code is that they shouldn't have stuff running. But whatever this PR does, it shouldn't interfere with release branches (I'm only running more jobs, not less) Bootstrap has been failing for a while, it's unrelated to this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can confirm that bootstrap CI just kind of does its own thing. Shouldn't block this PR though - we'll work it out in a separate PR. @ezyang feel free to merge.
|
@ezyang could you delete the gh/ezyang/2 branches? |
|
oops i botched this merge |
I want to use stack diffs (https://github.com/ezyang/ghstack/) to submit PRs to Cabal. Stack diffs, simply by virtue of what they are, are PRs that are targeted to branches that are not master (they target an appropriate base that lets GitHub render only the change in question, even if there are other changes below it.) However, I don't get CI jobs on those stack diffs because the current pull_request branch selector is too restrictive. This PR makes it less restrictive. This PR is submitted using ghstack to validate that this indeed works. Signed-off-by: Edward Z. Yang <ezyang@fb.com> ghstack-source-id: b135ea6 Pull Request resolved: #7308
I want to use stack diffs (https://github.com/ezyang/ghstack/) to submit PRs to Cabal. Stack diffs, simply by virtue of what they are, are PRs that are targeted to branches that are not master (they target an appropriate base that lets GitHub render only the change in question, even if there are other changes below it.) However, I don't get CI jobs on those stack diffs because the current pull_request branch selector is too restrictive. This PR makes it less restrictive. This PR is submitted using ghstack to validate that this indeed works. Signed-off-by: Edward Z. Yang <ezyang@fb.com> ghstack-source-id: b135ea6 Pull Request resolved: haskell#7308
I want to use stack diffs (https://github.com/ezyang/ghstack/) to submit PRs to Cabal. Stack diffs, simply by virtue of what they are, are PRs that are targeted to branches that are not master (they target an appropriate base that lets GitHub render only the change in question, even if there are other changes below it.) However, I don't get CI jobs on those stack diffs because the current pull_request branch selector is too restrictive. This PR makes it less restrictive. This PR is submitted using ghstack to validate that this indeed works. Signed-off-by: Edward Z. Yang <ezyang@fb.com> ghstack-source-id: b135ea6 Pull Request resolved: haskell#7308
Stack from ghstack:
I want to use stack diffs (https://github.com/ezyang/ghstack/) to
submit PRs to Cabal. Stack diffs, simply by virtue of what they
are, are PRs that are targeted to branches that are not master (they
target an appropriate base that lets GitHub render only the change
in question, even if there are other changes below it.) However,
I don't get CI jobs on those stack diffs because the current
pull_request branch selector is too restrictive. This PR makes
it less restrictive.
This PR is submitted using ghstack to validate that this indeed
works.
Signed-off-by: Edward Z. Yang ezyang@fb.com