From 6a2ccb444d83dcd181dc98b66523b85642f1820b Mon Sep 17 00:00:00 2001 From: gretzke Date: Wed, 16 Oct 2024 20:33:54 +0200 Subject: [PATCH] Delete pr-check.yaml --- .github/workflows/pr-check.yaml | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 .github/workflows/pr-check.yaml diff --git a/.github/workflows/pr-check.yaml b/.github/workflows/pr-check.yaml deleted file mode 100644 index fafbcd7..0000000 --- a/.github/workflows/pr-check.yaml +++ /dev/null @@ -1,20 +0,0 @@ -name: Source branch check -on: - pull_request: - branches: [main] - types: - - opened - - reopened - - synchronize - - edited -jobs: - check-main: - if: github.base_ref == 'main' - runs-on: ubuntu-latest - steps: - - name: Check branches - run: | - if [ ${{ github.head_ref }} != "staging" ]; then - echo "Merge requests to main branch are only allowed from staging branch." - exit 1 - fi