From 64b7ac4799a4bb8c486d9d2999b03b19d8e60a77 Mon Sep 17 00:00:00 2001 From: Max Katz Date: Sun, 15 Oct 2023 19:18:07 -0400 Subject: [PATCH] Try again --- .github/workflows/check_pr_branch.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check_pr_branch.yml b/.github/workflows/check_pr_branch.yml index 94584318a0..a4676479a3 100644 --- a/.github/workflows/check_pr_branch.yml +++ b/.github/workflows/check_pr_branch.yml @@ -7,7 +7,7 @@ jobs: steps: - name: PRs should not target main run: | - if [[ "${{ github.event.pull_request.base.ref }}" == "main" ]]; then + if [[ "${{ github.event.pull_request_target.ref }}" == "main" ]]; then echo "Pull requests must not be made against main. Please target development instead." exit 1 fi