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 2727 - synchronize
2828 - reopened
2929 - edited
30- - assigned
31- - unassigned
32- - labeled
33- - unlabeled
3430 - review_requested
3531 - review_request_removed
3632 - ready_for_review
33+ - converted_to_draft
3734
3835# Workflow jobs:
3936jobs :
7471 with :
7572 github-token : ${{ secrets.CHATBOT_GITHUB_TOKEN }}
7673 script : |
77- await github.issues.addLabels({
74+ await github.rest. issues.addLabels({
7875 'owner': context.repo.owner,
7976 'repo': context.repo.repo,
8077 'issue_number': context.payload.pull_request.number,
8986 with :
9087 github-token : ${{ secrets.CHATBOT_GITHUB_TOKEN }}
9188 script : |
92- await github.issues.addLabels({
89+ await github.rest. issues.addLabels({
9390 'owner': context.repo.owner,
9491 'repo': context.repo.repo,
9592 'issue_number': context.payload.pull_request.number,
@@ -105,7 +102,7 @@ jobs:
105102 github-token : ${{ secrets.CHATBOT_GITHUB_TOKEN }}
106103 script : |
107104 try {
108- await github.issues.removeLabel({
105+ await github.rest. issues.removeLabel({
109106 'owner': context.repo.owner,
110107 'repo': context.repo.repo,
111108 'issue_number': context.payload.pull_request.number,
You can’t perform that action at this time.
0 commit comments