mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 01:47:22 +08:00
DEV: Remove .github/workflows/check-branches.yml (#24331)
We no longer need this workflow.
This commit is contained in:
parent
ac896755bb
commit
bed4b3ee91
15
.github/workflows/check-branches.yml
vendored
15
.github/workflows/check-branches.yml
vendored
|
@ -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
|
|
Loading…
Reference in New Issue
Block a user