From 8941c6101eaaa21221096f9015e7609d5d4fd801 Mon Sep 17 00:00:00 2001 From: Kartik Raj Date: Thu, 6 Oct 2022 16:14:05 -0700 Subject: [PATCH] Log more for issue label action --- .github/workflows/issue-labels.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/issue-labels.yml b/.github/workflows/issue-labels.yml index b10983dd0706..9f1344e346bb 100644 --- a/.github/workflows/issue-labels.yml +++ b/.github/workflows/issue-labels.yml @@ -47,7 +47,10 @@ jobs: issue_number: context.issue.number, }) .then((result) => result.data.assignees.map((a) => a.login)); + console.log('Known triagers:', JSON.stringify(knownTriagers)); + console.log('Current assignees:', JSON.stringify(currentAssignees)); const assigneesToRemove = currentAssignees.filter(a => !knownTriagers.includes(a)); + console.log('Assignees to remove:', JSON.stringify(assigneesToRemove)); github.rest.issues.removeAssignees({ owner: context.repo.owner, repo: context.repo.repo,