feat new point structure #3
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: Check PR source branch | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| check-branch: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Verify PR source | |
| run: | | |
| if [ "${{ github.head_ref }}" != "develop" ]; then | |
| echo "PRs to main must come from develop" | |
| exit 1 | |
| fi |