Refactor go package updater #1815
Workflow file for this run
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: Validate Pull Request Target Branch | |
| on: | |
| pull_request_target: | |
| types: | |
| - opened | |
| - reopened | |
| - synchronize | |
| jobs: | |
| validate-target-branch: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check Target Branch | |
| run: | | |
| if [ "${{ github.base_ref }}" != "dev" ] && [ "${{ github.base_ref }}" != "v3_er" ]; then | |
| echo "Pull requests must target the 'dev' or 'v3_er' branch." | |
| exit 1 | |
| fi |