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

We no longer need this workflow.
This commit is contained in:
Blake Erickson 2023-11-10 08:49:38 -07:00 committed by GitHub
parent ac896755bb
commit bed4b3ee91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 15 deletions

View File

@ -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