Skip to content

Commit

Permalink
Try again
Browse files Browse the repository at this point in the history
  • Loading branch information
maxpkatz committed Oct 15, 2023
1 parent 656a1f1 commit 816be47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/check_pr_branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
steps:
- name: PRs should not target main
run: |
if [[ "${{ github.event.pull_request_target }}" == "main" ]]; then
if [[ "${{ github.event.pull_request_target.head.ref }}" == "main" ]]; then
echo "Pull requests must not be made against main. Please target development instead."
exit 1
fi

0 comments on commit 816be47

Please sign in to comment.