From 1c6216d502fca546a805268d84bd9361a89cec71 Mon Sep 17 00:00:00 2001 From: luke-ht Date: Mon, 20 Jul 2026 10:36:54 -0400 Subject: [PATCH] chore: remove migrated pr-linear-check reusable workflow (DO-1394) The reusable pr-linear-check workflow now lives in ht-workflow-library (source of truth) and all consumers (devops, ht-observability, ht-platform-cicd-sandbox) reference it there. This org-.github copy is no longer used. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/pr-linear-check.yml | 34 --------------------------- 1 file changed, 34 deletions(-) delete mode 100644 .github/workflows/pr-linear-check.yml diff --git a/.github/workflows/pr-linear-check.yml b/.github/workflows/pr-linear-check.yml deleted file mode 100644 index 68df79f..0000000 --- a/.github/workflows/pr-linear-check.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: PR Linear Ticket Check - -on: - workflow_call: - inputs: - linear_org: - description: Linear workspace slug (part of the URL) - type: string - default: twenty - -jobs: - check-linear-ticket: - runs-on: ubuntu-latest - steps: - - name: Check Linear ticket URL (skip bots) - env: - PR_BODY: ${{ github.event.pull_request.body }} - LINEAR_ORG: ${{ inputs.linear_org }} - PR_AUTHOR: ${{ github.event.pull_request.user.login }} - run: | - if [[ "$PR_AUTHOR" == "dependabot[bot]" || "$PR_AUTHOR" == "renovate[bot]" || "$PR_AUTHOR" == "github-actions[bot]" ]]; then - echo "Bot PR author ($PR_AUTHOR) — skipping Linear ticket check" - exit 0 - fi - if echo "$PR_BODY" | grep -qE "https://linear\.app/${LINEAR_ORG}/issue/[A-Z]+-[0-9]+"; then - echo "✅ Linear ticket URL found" - else - echo "❌ PR body must contain a Linear ticket URL" - echo "" - echo "Expected format: https://linear.app/${LINEAR_ORG}/issue/DO-123/ticket-slug" - echo "" - echo "Add a '## Linear Ticket' section to your PR body with the ticket URL." - exit 1 - fi