From a913ef364135d0093085a569bf5694ccc1c48481 Mon Sep 17 00:00:00 2001 From: Andrey Meshkov Date: Wed, 10 Aug 2022 13:37:29 +0300 Subject: [PATCH] test workflow --- .github/workflows/assign-on-label.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/assign-on-label.yml b/.github/workflows/assign-on-label.yml index 367101a804c..62ac5f136aa 100644 --- a/.github/workflows/assign-on-label.yml +++ b/.github/workflows/assign-on-label.yml @@ -20,8 +20,8 @@ jobs: const assignees = context.payload.issue.assignees.map(a => a.login); if (labelName === 'A: In progress' && !assignees.includes(senderName)) { - console.log(`Adding ${senderName} to the #${issueNumber} assignees`); - await github.issues.addAssignees({ + console.log(`Adding @${senderName} to the #${issueNumber} assignees`); + await github.rest.issues.addAssignees({ owner, repo, issue_number: issueNumber,