From 3b69724b3ffd4b4576273665ff7629a1ae49736d Mon Sep 17 00:00:00 2001 From: "Charles-P. Clermont" Date: Tue, 1 Dec 2026 16:27:48 -0500 Subject: [PATCH] Remove the workflow that closes pull requests from forks The repository now limits pull request creation to collaborators, so outside pull requests can't be opened and the workflow has nothing to close. --- .../workflows/close-fork-pull-requests.yml | 23 ------------------- 1 file changed, 23 deletions(-) delete mode 100644 .github/workflows/close-fork-pull-requests.yml diff --git a/.github/workflows/close-fork-pull-requests.yml b/.github/workflows/close-fork-pull-requests.yml deleted file mode 100644 index 0f2d8c552..000000000 --- a/.github/workflows/close-fork-pull-requests.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Close pull requests from forks - -on: - pull_request_target: - types: [opened] - -permissions: {} - -jobs: - close: - # A branch in this repository needs write access, so only forks are closed. The mirror's - # world-mirror/main branch and the maintainers' own branches are never touched. - if: github.event.pull_request.head.repo.full_name != github.repository - runs-on: ubuntu-latest - permissions: - pull-requests: write - steps: - - name: Close with a comment - env: - GH_TOKEN: ${{ github.token }} - PR_URL: ${{ github.event.pull_request.html_url }} - run: | - gh pr close "$PR_URL" --comment "Thanks for this! This repository is a read-only mirror of Shopify's monorepo, so we can't merge pull requests here. If the change is still needed, please open an issue and link this pull request. CONTRIBUTING.md has the details."