Skip to content

chore: release v2.2.0-beta.7 #108

chore: release v2.2.0-beta.7

chore: release v2.2.0-beta.7 #108

Workflow file for this run

name: PR target branch check
on:
pull_request:
branches: [main]
types: [opened, synchronize, reopened]
jobs:
check-target:
runs-on: ubuntu-latest
steps:
- name: Enforce mainline PR policy
env:
HEAD_REF: ${{ github.head_ref }}
run: |
if [[ "$HEAD_REF" == release/* ]]; then
echo "::error::Source branch '$HEAD_REF' matches deprecated release/* flow."
echo "::error::Use topic branches from main (feat/*, fix/*, chore/*, hotfix/*) and target main."
exit 1
fi
echo "PR source branch: $HEAD_REF"
echo "Mainline PR policy check passed."