Skip to content

Commit

Permalink
chore(gh-workflow): apply maintainer response label only to open issu…
Browse files Browse the repository at this point in the history
…es (#6326)
  • Loading branch information
tiffanynwyeung authored Jan 29, 2025
1 parent 219f88a commit cd508ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/issue-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:
shell: bash
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) }}
- name: Add pending-maintainer-response when new community comment received on open issues
if: ${{ !contains(fromJSON('["MEMBER", "OWNER"]'), github.event.comment.author_association) && github.event.issue.state == 'open' }}
shell: bash
run: |
gh issue edit $ISSUE_NUMBER --repo $REPOSITORY_NAME --add-label "pending-maintainer-response"
Expand Down

0 comments on commit cd508ee

Please sign in to comment.