Maven dependency update - improve non-existing version error #470
Workflow file for this run
This file contains 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" ]; then | |
echo "Pull requests must target the 'dev' branch." | |
exit 1 | |
fi |