We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9782218 commit 44bd321Copy full SHA for 44bd321
1 file changed
.github/workflows/labels.yml
@@ -0,0 +1,25 @@
1
+name: Require Pull Request Labels
2
+on:
3
+ pull_request:
4
+ types: [opened, labeled, unlabeled, synchronize]
5
+jobs:
6
+ label:
7
+ # Only run if PR is not from a fork
8
+ if: github.event.pull_request.head.repo.full_name == github.repository
9
+ runs-on: ubuntu-latest
10
+ permissions:
11
+ issues: write
12
+ pull-requests: write
13
+ steps:
14
+ - uses: mheap/github-action-required-labels@v5
15
+ with:
16
+ mode: minimum
17
+ count: 1
18
+ labels: |
19
+ Docs:User
20
+ Docs:Admin
21
+ Docs:Developer
22
+ Docs:Breaking-Change
23
+ Docs:Build&Tools
24
+ Docs:Guides
25
+ add_comment: true
0 commit comments