From 8026a62d0d2593cce7fdd73e8d908c6aac38b2a5 Mon Sep 17 00:00:00 2001 From: Josh Larson Date: Tue, 20 Oct 2026 14:29:58 -0500 Subject: [PATCH] Remove the shopify.dev preview label workflow shopify.dev docs preview tooling now finds relevant pull requests by the files they change, so this workflow and the label it applies are no longer needed. Co-authored-by: Qlaw --- .../shopify-dev-preview-automation.yml | 34 ------------------- 1 file changed, 34 deletions(-) delete mode 100644 .github/workflows/shopify-dev-preview-automation.yml diff --git a/.github/workflows/shopify-dev-preview-automation.yml b/.github/workflows/shopify-dev-preview-automation.yml deleted file mode 100644 index 24e8df3..0000000 --- a/.github/workflows/shopify-dev-preview-automation.yml +++ /dev/null @@ -1,34 +0,0 @@ -# Labels Shopify staff PRs for shopify.dev docs previews. - -name: Shopify Dev preview label - -on: - pull_request: - types: [opened, synchronize, reopened, ready_for_review] - paths: - - 'schemas/theme/**' - -concurrency: - group: shopify-dev-preview-label-${{ github.event.pull_request.number }} - cancel-in-progress: true - -permissions: {} - -jobs: - label: - name: Add the shopify.dev preview label - runs-on: ubuntu-latest - timeout-minutes: 5 - # Only same-repo PRs. Fork PRs get a read-only token, so skip them. - if: github.repository_owner == 'Shopify' && github.event.pull_request.head.repo.full_name == github.repository - permissions: - pull-requests: write - steps: - - name: Add the label - env: - GH_TOKEN: ${{ github.token }} - PR_NUMBER: ${{ github.event.pull_request.number }} - run: | - gh pr edit "$PR_NUMBER" \ - --repo "$GITHUB_REPOSITORY" \ - --add-label 'shopify.dev preview'