Preapare for release 1.0.4 #119
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 PR Label | |
on: | |
pull_request: | |
branches: | |
- 'main' | |
types: | |
- opened | |
- labeled | |
- unlabeled | |
jobs: | |
Build-label-check: | |
runs-on: ubuntu-latest | |
if: ${{ !contains(github.event.pull_request.labels.*.name, 'Ready-to-Build') || join(github.event.pull_request.labels) == '' }} | |
steps: | |
- name: Fail if PR is not yet built | |
run: | | |
echo "This PR needs to be built before merging to the repository." | |
exit 1 |