Skip to content

Add CI test that fails if a PR is issued to main #16

Add CI test that fails if a PR is issued to main

Add CI test that fails if a PR is issued to main #16

Workflow file for this run

name: check PR branch
on:
pull_request:
types:
- opened
- synchronize
- reopened
- edited
jobs:
check-PR-branch:
runs-on: ubuntu-latest
if: ${{ github.base_ref == 'main' }}
steps:
- name: PRs should not target main. Use development instead.
run: exit 1