Sync dev to main: fix broken Next link on Button Toggles a Room Light #141
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 |