File tree 1 file changed +11
-13
lines changed 1 file changed +11
-13
lines changed Original file line number Diff line number Diff line change 1
- # This workflow uses actions that are not certified by GitHub.
2
- # They are provided by a third-party and are governed by
3
- # separate terms of service, privacy policy, and support
4
- # documentation.
5
-
6
- name : Label issues
1
+ name : Label issue
7
2
on :
8
3
issues :
9
4
types :
10
5
- opened
11
6
- reopened
7
+
8
+ permissions :
9
+ issues : write
10
+
12
11
jobs :
13
12
label_issues :
14
13
runs-on : ubuntu-latest
15
- permissions :
16
- issues : write
17
14
steps :
18
- - name : Label issues
19
- uses : andymckay/labeler@e6c4322d0397f3240f0e7e30a33b5c5df2d39e90
20
- with :
21
- add-labels : " team/area3"
22
- repo-token : ${{ secrets.GITHUB_TOKEN }}
15
+ - name : Label issue
16
+ id : run
17
+ run : gh issue edit -R ${GITHUB_REPOSITORY} --add-label ${LABEL} ${{ github.event.issue.number }}
18
+ env :
19
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
20
+ LABEL : " team/area3"
You can’t perform that action at this time.
0 commit comments