build(deps): bump the client-minor-and-patch group across 1 directory with 26 updates #456
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Branch Protection Check | |
| on: | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| enforce-pr-policy: | |
| name: Enforce PR Policy | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Reject direct push to main | |
| run: | | |
| if [ "${{ github.event_name }}" = "push" ]; then | |
| echo "::error::Direct pushes to main are not allowed. Open a pull request." | |
| exit 1 | |
| fi | |
| echo "✅ Change is arriving via pull request — policy satisfied." |