File tree Expand file tree Collapse file tree 2 files changed +28
-9
lines changed Expand file tree Collapse file tree 2 files changed +28
-9
lines changed Original file line number Diff line number Diff line change 1
- kubernetes :
2
- - ' (kubernetes)'
1
+ version : 1
2
+ issues : True
3
+ labels :
4
+ - label : " kubernetes"
5
+ type : " issue"
6
+ body : " kubernetes*"
7
+ - label : " need-doc-review"
8
+ type : " pull_request"
9
+ draft : False
10
+ files :
11
+ - " docs\\ /*.txt"
Original file line number Diff line number Diff line change @@ -2,14 +2,24 @@ name: Issue Labeler
2
2
on :
3
3
issues :
4
4
types : [opened, edited]
5
-
5
+ pull_request :
6
+ types :
7
+ - ready_for_review
6
8
jobs :
7
- triage :
9
+ labeler :
10
+ name : Add Label to PRs and Issues
8
11
runs-on : ubuntu-latest
12
+ permissions :
13
+ contents : read
14
+ pull-requests : write # Needed by labeler
15
+ issues : write # Needed by labeler
9
16
steps :
10
-
17
+ - name : Checkout repo
18
+ uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
19
+ - name : Add Labels
20
+ uses : srvaroa/labeler@1eec6d9e7c5fa5864840279978680302f955fc37
21
+ env :
22
+ GITHUB_TOKEN : " ${{ secrets.GITHUB_TOKEN }}"
11
23
with :
12
- repo-token : " ${{ secrets.GITHUB_TOKEN }}"
13
- configuration-path : .github/labeler.yaml
14
- not-before : 2020-01-15T02:54:32Z
15
- enable-versioned-regex : 0
24
+ config_path : .github/labeler.yaml
25
+ use_local_config : true
You can’t perform that action at this time.
0 commit comments