From 674f616defe5ea40b9f273bf03757b26eaf9ed90 Mon Sep 17 00:00:00 2001 From: rabollin Date: Tue, 13 Feb 2024 11:23:34 +0530 Subject: [PATCH] bot fixes Signed-off-by: rabollin --- .github/workflows/dapr-bot.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dapr-bot.yml b/.github/workflows/dapr-bot.yml index 65bfed8bc..e1a02e508 100644 --- a/.github/workflows/dapr-bot.yml +++ b/.github/workflows/dapr-bot.yml @@ -32,7 +32,7 @@ jobs: const commentBody = payload.comment.body; if (!isFromPulls && commentBody && commentBody.indexOf("/assign") == 0) { if (!issue.assignees || issue.assignees.length === 0) { - await github.issues.addAssignees({ + await github.rest.issues.addAssignees({ owner: issue.owner, repo: issue.repo, issue_number: issue.number,