WIP - Adjusting reapply_cors logic to return the first match #261
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 |