Sync dev to main: ESK module YAML fixes #194
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 |