Skip to content

Conversation

@ezyang
Copy link
Contributor

@ezyang ezyang commented Feb 28, 2021

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

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]
ezyang added a commit that referenced this pull request Feb 28, 2021
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
@ezyang ezyang requested a review from phadej February 28, 2021 01:23
@emilypi
Copy link
Member

emilypi commented Mar 3, 2021

@fgaz thoughts on this one?

@fgaz
Copy link
Member

fgaz commented Mar 3, 2021

release branches do get ci though.. how does that happen? how does this interact wit it? also bootstrap is failing

@ezyang
Copy link
Contributor Author

ezyang commented Mar 3, 2021

@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.

Copy link
Member

@emilypi emilypi left a 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 ezyang merged commit cfea6ca into gh/ezyang/2/base Mar 19, 2021
@fgaz
Copy link
Member

fgaz commented Mar 19, 2021

@ezyang could you delete the gh/ezyang/2 branches?

@ezyang
Copy link
Contributor Author

ezyang commented Mar 19, 2021

oops i botched this merge

ezyang added a commit that referenced this pull request Mar 19, 2021
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
@ezyang ezyang deleted the gh/ezyang/2/head branch March 19, 2021 13:58
hololeap pushed a commit to hololeap/cabal that referenced this pull request Apr 24, 2022
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
hololeap pushed a commit to hololeap/cabal that referenced this pull request Apr 24, 2022
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
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.

4 participants