Skip to content

Commit ca4297e

Browse files
MultiMailH179922
authored andcommitted
ci: scope PR auto-close to fork PRs only — unconditional close deadlocked the release flow (main requires PRs)
1 parent e6d3cab commit ca4297e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/no-pull-requests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ permissions:
1111
jobs:
1212
close:
1313
name: Close pull request
14+
# Only redirect EXTERNAL contributors (fork PRs). Same-repo branches can only be
15+
# pushed by the org, and the release flow REQUIRES a PR (main is branch-protected,
16+
# rebase-merge only) — an unconditional close deadlocks releases (v0.13.0, GHST-631).
17+
if: github.event.pull_request.head.repo.fork == true
1418
runs-on: ubuntu-latest
1519
steps:
1620
- name: Redirect contributor to issues

0 commit comments

Comments
 (0)