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"