diff --git a/.github/workflows/dapr_bot.yml b/.github/workflows/dapr_bot.yml index c1cb923062..0c2676c7a0 100644 --- a/.github/workflows/dapr_bot.yml +++ b/.github/workflows/dapr_bot.yml @@ -20,7 +20,8 @@ jobs: if (!isFromPulls && commentBody && commentBody.indexOf("/assign") == 0) { if (!issue.assignees || issue.assignees.length === 0) { - await github.issues.addAssignees({ + // See https://github.com/actions/github-script#breaking-changes-in-v5 + await github.rest.issues.addAssignees({ owner: issue.owner, repo: issue.repo, issue_number: issue.number,