chore(deps): Bump github.com/IBM/nzgo/v12 from 12.0.9-0.20231115043259-49c27f2dfe48 to 12.0.9 #2189
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: Target Branch | |
on: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- edited | |
jobs: | |
check-target-master: | |
name: master | |
runs-on: ubuntu-latest | |
steps: | |
- name: debug | |
run: echo Target is ${{ github.event.pull_request.base.ref }} | |
- name: success | |
if: github.event.pull_request.base.ref == 'master' | |
run: exit 0 | |
- name: error | |
if: github.event.pull_request.base.ref != 'master' | |
run: | | |
echo "Pull-request is not based on master, please rebase" | |
exit 1 |