Skip to content

Create pr-check.yml #19

Create pr-check.yml

Create pr-check.yml #19

Workflow file for this run

name: PR workflow
on:
pull_request:
types: [synchronize, opened, reopened, edited]
jobs:
check-pr-destination-branch:
runs-on: ubuntu-latest
steps:
- run: env | sort -f
- uses: actions/[email protected]
if: ${{ github.base_ref == 'main' }}
with:
script: |
core.setFailed('PRs must target either main-staging or a feature branch')