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 d01a71c commit 06c4d90
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/check_pr_branch.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: check PR branch

on:
pull_request:
branches:
- main

on: [pull_request]
jobs:
check-PR-branch:
runs-on: ubuntu-latest
steps:
- name: PRs should not target main
run: exit 1
run: |
if [[ "${{ github.base_ref }}" == "main" ]]; then
echo "Pull requests must not be made against main. Please target development instead."
exit 1
fi

0 comments on commit 06c4d90

Please sign in to comment.