Skip to content

Commit

Permalink
Create pull-request-police.yml (#458)
Browse files Browse the repository at this point in the history
Add GH Action to require PR to have labels!
  • Loading branch information
noinarisak committed Aug 20, 2021
1 parent 576f3dc commit 1b80f91
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/pull-request-police.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Pull Request Police
on:
pull_request:
types: [opened, labeled, unlabeled, synchronize]
jobs:
label:
runs-on: ubuntu-latest
steps:
- uses: mheap/github-action-required-labels@v1
with:
mode: exactly
count: 1
labels: "type: breaking, type: feature, type: bug, type: maintenance, type: docs, type: dependencies"

0 comments on commit 1b80f91

Please sign in to comment.