File tree Expand file tree Collapse file tree 2 files changed +53
-0
lines changed Expand file tree Collapse file tree 2 files changed +53
-0
lines changed Original file line number Diff line number Diff line change
1
+
2
+ " pr:docs " :
3
+ - changed-files :
4
+ - any-glob-to-any-file : ' **.md'
5
+
6
+ " pr:code " :
7
+ - changed-files :
8
+ - any-glob-to-any-file : ' lib/**.js'
9
+
10
+ " pr:types " :
11
+ - changed-files :
12
+ - any-glob-to-any-file : ['index.d.ts', 'index.d.cts']
13
+
14
+ " pr:tests " :
15
+ - changed-files :
16
+ - any-glob-to-any-file : ' test/**.js'
17
+
18
+ " pr:github-actions " :
19
+ - changed-files :
20
+ - any-glob-to-any-file : ' **.d.ts'
21
+
22
+ " pr:examples " :
23
+ - changed-files :
24
+ - any-glob-to-any-file : ' examples/**.js'
25
+
26
+ " pr:ci " :
27
+ - changed-files :
28
+ - any-glob-to-any-file : ['bin/**', 'rollup.config.js']
29
+
30
+ " pr:feature " :
31
+ - head-branch : ['feature', 'feat']
32
+
33
+ " pr:fix " :
34
+ - head-branch : ['fix', 'bug']
Original file line number Diff line number Diff line change
1
+ name : " Pull Request Labeler"
2
+ on :
3
+ pull_request_target :
4
+ workflow_dispatch :
5
+ inputs :
6
+ prs :
7
+ required : false
8
+ description : " pr number"
9
+
10
+ jobs :
11
+ labeler :
12
+ permissions :
13
+ contents : read
14
+ pull-requests : write
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+ - uses : actions/labeler@v5
18
+ with :
19
+ pr-number : github.event.inputs.prs
You can’t perform that action at this time.
0 commit comments