Skip to content

Commit f1198e6

Browse files
committed
🐛 fix(assign-bot): should use github.rest.* [no ci]
1 parent 66b47e0 commit f1198e6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/assign-bot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
3535
if (!isFromPulls && commentBody && commentBody.indexOf("/assign") == 0) {
3636
if (!issue.assignees || issue.assignees.length === 0) {
37-
await github.issues.addAssignees({
37+
await github.rest.issues.addAssignees({
3838
owner: issue.owner,
3939
repo: issue.repo,
4040
issue_number: issue.number,

0 commit comments

Comments
 (0)