From e041558d3047eb231a99084df0420c363ffb08e3 Mon Sep 17 00:00:00 2001 From: Josh Larson Date: Tue, 20 Oct 2026 14:29:21 -0500 Subject: [PATCH] Remove the shopify.dev preview label workflow --- .../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 8c5c4f88040..00000000000 --- 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: - - 'docs-shopify.dev/generated/generated_docs_data_v2.json' - -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'