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 cd811fc commit bf26426
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.head.sha }}" == "${{ git rev-parse main }}" ]]; then
if [[ "${{ github.event.pull_request_target.head.sha }}" == "$(git rev-parse main)" ]]; then
echo "Pull requests must not be made against main. Please target development instead."
exit 1
fi

0 comments on commit bf26426

Please sign in to comment.