Add some utils that have been duplicated in various code bases #30
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: Force pull-requests label(s) | |
on: | |
pull_request: | |
types: [opened, labeled, unlabeled] | |
jobs: | |
pr-has-label: | |
name: Will be skipped if labelled | |
runs-on: ubuntu-latest | |
if: ${{ join(github.event.pull_request.labels.*.name, ', ') == '' }} | |
steps: | |
- run: | | |
echo 'Pull-request must have at least one label' | |
exit 1 |