Skip to content

Claude/release priority blocker o7qoe #7

Claude/release priority blocker o7qoe

Claude/release priority blocker o7qoe #7

Workflow file for this run

name: PR Quality Gate
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
branch-check:
name: Validate Branch Name
runs-on: ubuntu-latest
steps:
- name: Verify Branch Name
run: |
BRANCH_NAME="${{ github.head_ref }}"
if [[ ! "$BRANCH_NAME" =~ ^(feature|release|hotfix|chore)/ ]]; then
echo "Error: Branch name '$BRANCH_NAME' does not follow conventions (feature/, release/, hotfix/, chore/)."
exit 1
fi
verification:
name: Verified Run
runs-on: ubuntu-latest
needs: branch-check
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10
run_install: true
- name: Typecheck Gate
run: pnpm run typecheck
- name: Repo Health Summary
run: |
echo "Repo Health Summary for PR #${{ github.event.pull_request.number }}"
echo "Source Branch: ${{ github.head_ref }}"
echo "Target Branch: ${{ github.base_ref }}"
echo "Node.js Version: $(node -v)"
echo "TypeScript Version: $(pnpm exec tsc -v)"