Skip to content

Commit b130585

Browse files
authored
chore(.github/workflows): add PR labels action (#3999)
Signed-off-by: Gaius <gaius.qi@gmail.com>
1 parent d9cfba7 commit b130585

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/pr-labels.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: PR Label
2+
3+
on:
4+
pull_request:
5+
types: [opened, labeled, unlabeled, synchronize]
6+
7+
permissions:
8+
contents: read
9+
10+
jobs:
11+
classify:
12+
name: Classify PR
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: PR impact specified
16+
uses: mheap/github-action-required-labels@388fd6af37b34cdfe5a23b37060e763217e58b03 # v5.5
17+
with:
18+
mode: exactly
19+
count: 1
20+
labels: 'bug, enhancement, documentation, dependencies'

0 commit comments

Comments
 (0)