From c78516a34d82c0a5a8c0ed83e70a4060c6a5afeb Mon Sep 17 00:00:00 2001 From: Jordan Van Ness Date: Fri, 4 Oct 2024 09:25:45 -0700 Subject: [PATCH] feat(GitHub): add support for 'discussion' label on issues (#5865) --- .github/workflows/issue-comment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/issue-comment.yml b/.github/workflows/issue-comment.yml index 6637bfd8e7f..f542bf5dc0a 100644 --- a/.github/workflows/issue-comment.yml +++ b/.github/workflows/issue-comment.yml @@ -27,7 +27,7 @@ jobs: run: | gh issue edit $ISSUE_NUMBER --repo $REPOSITORY_NAME --remove-label "pending-community-response" - name: Add pending-maintainer-response when new community comment received - if: ${{ !contains(fromJSON('["MEMBER", "OWNER"]'), github.event.comment.author_association) }} + if: ${{ !contains(fromJSON('["MEMBER", "OWNER"]'), github.event.comment.author_association) && !contains(github.event.issue.labels.*.name, 'discussion') }} shell: bash run: | gh issue edit $ISSUE_NUMBER --repo $REPOSITORY_NAME --add-label "pending-maintainer-response"