Repository navigation
Sync dev to main: CAST PRO-1 Analog In (Line In) details and announcement sliders, CAST-1 hotspot tip #341
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: Restrict PRs to main | |
| on: | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| check-source: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Verify source is dev | |
| run: | | |
| if [ "${{ github.head_ref }}" != "dev" ]; then | |
| echo "::error::PRs to main must come from 'dev'. Got: ${{ github.head_ref }}" | |
| exit 1 | |
| fi |