Skip to content

Commit

Permalink
Create required-labels.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Aloren authored Oct 4, 2021
1 parent 56a2ead commit 40cd458
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/required-labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# https://github.com/mheap/github-action-required-labels
name: Pull Request Required Labels
on:
pull_request:
types: [ opened, labeled, unlabeled, synchronize ]
jobs:
label:
if: github.event.pull_request.state == 'open'
runs-on: ubuntu-latest
name: Verify Pull Request has labels
steps:
- uses: mheap/github-action-required-labels@v1
with:
mode: minimum
count: 1
labels: "breaking, breaks, feature, enhancement, fix, bugfix, bug, chore, cleanup, polish, dependencies, documentation"

0 comments on commit 40cd458

Please sign in to comment.