From 656a1f134d8aa34abe112d9d3593d165a610ce89 Mon Sep 17 00:00:00 2001 From: Max Katz Date: Sun, 15 Oct 2023 19:19:09 -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 a4676479a3..0ec56975e8 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_target.ref }}" == "main" ]]; then + if [[ "${{ github.event.pull_request_target }}" == "main" ]]; then echo "Pull requests must not be made against main. Please target development instead." exit 1 fi