Skip to content

Commit

Permalink
Add CI test that fails if a PR is issued to main
Browse files Browse the repository at this point in the history
  • Loading branch information
maxpkatz committed Oct 15, 2023
1 parent 8b2c485 commit d01a71c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/check_pr_branch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: check PR branch

on:
pull_request:
branches:
- main

jobs:
check-PR-branch:
runs-on: ubuntu-latest
steps:
- name: PRs should not target main
run: exit 1

0 comments on commit d01a71c

Please sign in to comment.