From 4420719424f39fa1c1dcb355d3b21aaf07b9e096 Mon Sep 17 00:00:00 2001 From: Mihail Stoykov Date: Thu, 24 Aug 2023 16:55:15 +0300 Subject: [PATCH] Add triage label to each new issue not by maintainer --- .github/workflows/issue-auto-assign.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/issue-auto-assign.yml b/.github/workflows/issue-auto-assign.yml index ee608eb6a58..45e74dbe6f1 100644 --- a/.github/workflows/issue-auto-assign.yml +++ b/.github/workflows/issue-auto-assign.yml @@ -40,3 +40,9 @@ jobs: issue_number: context.issue.number, assignees: getNRandom(assigneeCount, assignees), }); + github.rest.issues.addLabels({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: context.issue.number, + labels: ["triage"] + });