File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 27
27
- synchronize
28
28
- reopened
29
29
- edited
30
- - assigned
31
- - unassigned
32
- - labeled
33
- - unlabeled
34
30
- review_requested
35
31
- review_request_removed
36
32
- ready_for_review
33
+ - converted_to_draft
37
34
38
35
# Workflow jobs:
39
36
jobs :
74
71
with :
75
72
github-token : ${{ secrets.CHATBOT_GITHUB_TOKEN }}
76
73
script : |
77
- await github.issues.addLabels({
74
+ await github.rest. issues.addLabels({
78
75
'owner': context.repo.owner,
79
76
'repo': context.repo.repo,
80
77
'issue_number': context.payload.pull_request.number,
89
86
with :
90
87
github-token : ${{ secrets.CHATBOT_GITHUB_TOKEN }}
91
88
script : |
92
- await github.issues.addLabels({
89
+ await github.rest. issues.addLabels({
93
90
'owner': context.repo.owner,
94
91
'repo': context.repo.repo,
95
92
'issue_number': context.payload.pull_request.number,
@@ -105,7 +102,7 @@ jobs:
105
102
github-token : ${{ secrets.CHATBOT_GITHUB_TOKEN }}
106
103
script : |
107
104
try {
108
- await github.issues.removeLabel({
105
+ await github.rest. issues.removeLabel({
109
106
'owner': context.repo.owner,
110
107
'repo': context.repo.repo,
111
108
'issue_number': context.payload.pull_request.number,
You can’t perform that action at this time.
0 commit comments