diff --git a/.github/workflows/enforcer.yaml b/.github/workflows/enforcer.yaml index 048f81a..1fc567f 100644 --- a/.github/workflows/enforcer.yaml +++ b/.github/workflows/enforcer.yaml @@ -2,13 +2,15 @@ name: 'Check Branch' on: pull_request: + branches: + - base jobs: check_branch: runs-on: ubuntu-latest steps: - name: Check branch - if: github.base_ref == 'base' && github.head_ref != 'development' + if: github.head_ref != 'development' run: | echo "ERROR: You can only merge to base from the development branch." exit 1