Update global surface CX namelist #140
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: Check Label | |
on: | |
pull_request: | |
types: | |
- opened | |
- labeled | |
- unlabeled | |
- synchronized | |
jobs: | |
ready-to-merge: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Fail if PR is not labelled as ready to merge | |
if: "!contains(github.event.pull_request.labels.*.name,'ready to merge')" | |
run: | | |
echo "This PR does not have 'ready to merge' label." | |
exit 1 | |
- name: Pass if PR is labelled as ready to merge | |
if: | | |
github.ref == 'pull_request' && | |
contains(github.event.pull_request.labels.*.name,'ready to merge') | |
run: echo "This PR is ready to merge." |