Skip to content

Commit

Permalink
chore(gh-workflow): apply maintainer response label only to open issues
Browse files Browse the repository at this point in the history
  • Loading branch information
tiffanynwyeung committed Jan 29, 2025
1 parent 86d787b commit 24e4497
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 @@ -19,8 +19,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 24e4497

Please sign in to comment.