gh-stack icon indicating copy to clipboard operation
gh-stack copied to clipboard

Repos in the same org not able to run `gh stack submit`

Open parkerholladay opened this issue 3 months ago • 1 comments

Last Friday, I was testing stacked PRs for our org, and I was able to submit two stacked PRs in repo-a. This week, I am able to submit stacked PRs in repo-b and repo-c within the same org, but not in repo-a. I am getting the error:

$ gh stack submit Checking stack state... ⚠ Stacked PRs are not enabled for this repository ? Would you still like to create regular PRs?


I tried the following API calls to diagnose: gh api -i 'repos/MyOrg/repo-b/stacks?per_page=1' - returns 200 gh api -i 'repos/MyOrg/repo-a/stacks?per_page=1' - returns 404


gh: 2.97.0 gh-stack: 0.1.0

parkerholladay avatar Aug 05 '26 16:08 parkerholladay

I disabled Require merge queue in the repo rulesets on repo-a, and I was able to push a stack again. So, my first stack must have been before enabling that rule, and it feels like this is related to #349

parkerholladay avatar Aug 05 '26 23:08 parkerholladay