From ef303cd649a2e838fec7051a41007224e9cda2df Mon Sep 17 00:00:00 2001 From: Ben Jarmak <104460670+jarmak-nv@users.noreply.github.com> Date: Thu, 20 Apr 2023 14:20:12 -0500 Subject: [PATCH] Label External Issues: Update secret, add discussions (#897) This PR updates the secret in the external issue labeler GHA to use one with permissions to see who is a member of `nv-morpheus`. It also auto-labels new external discussions with the `Needs Triage` label as well. Authors: - Ben Jarmak (https://github.com/jarmak-nv) Approvers: - Michael Demoret (https://github.com/mdemoret-nv) URL: https://github.com/nv-morpheus/Morpheus/pull/897 --- .github/workflows/label-external-issues.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/label-external-issues.yml b/.github/workflows/label-external-issues.yml index 226648452e..d449ddf03f 100644 --- a/.github/workflows/label-external-issues.yml +++ b/.github/workflows/label-external-issues.yml @@ -20,9 +20,13 @@ on: types: - opened + discussion: + types: + - created + env: - GITHUB_TOKEN: ${{ github.token }} - # Label ID from an external graphQL query, represents '? - Needs Triage' + GITHUB_TOKEN: ${{ secrets.PROJECT_MANAGEMENT_PAT }} + # Label ID from an external graphQL query, represents 'Needs Triage' LABEL_ID: LA_kwDOFrb0NM7yzEQv permissions: