Skip to content

A platform for community discussion. Free, open, simple.

DEV: Remove .github/workflows/check-branches.yml (#24331)

Blake Ericksonbed4b3ee9153
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