This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
Deactivate nightly builds #6704
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: Pull Request Label Validation | |
on: | |
pull_request: | |
branches: | |
- trunk | |
types: | |
- labeled | |
- unlabeled | |
- opened | |
- reopened | |
- synchronize | |
- edited | |
env: | |
LABELS: ${{ join( github.event.pull_request.labels.*.name, ' ' ) }} | |
jobs: | |
check-type-label: | |
name: Check [Type] Label | |
runs-on: ubuntu-latest | |
steps: | |
- if: contains( env.LABELS, 'type' ) == false && contains( env.LABELS, 'skip-changelog' ) == false | |
run: exit 1 |