Skip to content

Commit

Permalink
Merge branch 'development' into filesystem
Browse files Browse the repository at this point in the history
  • Loading branch information
maxpkatz authored Apr 7, 2024
2 parents d666946 + cddae84 commit 1c8425c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/check_pr_branch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: check PR branch

on:
pull_request:
types:
- opened
- synchronize
- reopened
- edited

jobs:
check-PR-branch:
runs-on: ubuntu-latest
steps:
- name: PRs should not target main
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 1c8425c

Please sign in to comment.