From bed4b3ee915391cb5ee14dcbc411f3968b75aed7 Mon Sep 17 00:00:00 2001 From: Blake Erickson Date: Fri, 10 Nov 2023 08:49:38 -0700 Subject: [PATCH] DEV: Remove .github/workflows/check-branches.yml (#24331) We no longer need this workflow. --- .github/workflows/check-branches.yml | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 .github/workflows/check-branches.yml diff --git a/.github/workflows/check-branches.yml b/.github/workflows/check-branches.yml deleted file mode 100644 index a4c67adfe3e..00000000000 --- a/.github/workflows/check-branches.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: PR base branch check -on: - pull_request: -jobs: - check-branches: - if: github.event_name == 'pull_request' && github.repository == 'discourse/discourse-private-mirror' - runs-on: ubuntu-latest - steps: - - name: Check branches - run: | - BASE_REF=${{ github.base_ref }} - if [ "$BASE_REF" == "tests-passed" ]; then - echo "PR requests to tests-passed branch are not allowed. Please use main." - exit 1 - fi