Skip to content

Commit

Permalink
fix github action for dapr comment analyzer bot (dapr#680)
Browse files Browse the repository at this point in the history
Signed-off-by: Mukundan Sundararajan <[email protected]>

Co-authored-by: Artur Souza <[email protected]>
  • Loading branch information
mukundansundar and artursouza authored Jan 27, 2022
1 parent 9989832 commit 4c077e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/dapr_bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4c077e1

Please sign in to comment.