Skip to content

Commit

Permalink
feat(GitHub): add support for 'discussion' label on issues (#5865)
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanvn authored Oct 4, 2024
1 parent 6f76f9c commit c78516a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/issue-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit c78516a

Please sign in to comment.