diff --git a/.github/workflows/check_pr_branch.yml b/.github/workflows/check_pr_branch.yml new file mode 100644 index 0000000000..5d12a9303d --- /dev/null +++ b/.github/workflows/check_pr_branch.yml @@ -0,0 +1,13 @@ +name: check PR branch + +on: + pull_request: + branches: + - main + +jobs: + check-PR-branch: + runs-on: ubuntu-latest + steps: + - name: PRs should not target main + run: exit 1