Use new quality monitor action in workflows #325
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: Enforce PR labels | |
on: | |
pull_request: | |
types: [opened, labeled, unlabeled, synchronize] | |
jobs: | |
enforce-labels: | |
name: Enforce PR labels | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
pull-requests: write | |
steps: | |
- uses: mheap/github-action-required-labels@v5 | |
with: | |
mode: minimum | |
count: 1 | |
labels: "bug,feature,enhancement,breaking,tests,documentation,internal,dependencies" | |
message: "Maintainer needs to assign at least one label before merge" |