Skip to content

Commit bbdd2dc

Browse files
chore(gh-workflow): apply maintainer response label only to open issues (#14172)
2 parents ba025e5 + 6211707 commit bbdd2dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/issue-comment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ jobs:
1919
shell: bash
2020
run: |
2121
gh issue edit $ISSUE_NUMBER --repo $REPOSITORY_NAME --remove-label "pending-community-response"
22-
- name: Add pending-maintainer-response when new community comment received
23-
if: ${{ !contains(fromJSON('["MEMBER", "OWNER"]'), github.event.comment.author_association) }}
22+
- name: Add pending-maintainer-response when new community comment received on open issues
23+
if: ${{ !contains(fromJSON('["MEMBER", "OWNER"]'), github.event.comment.author_association) && github.event.issue.state == 'open' }}
2424
shell: bash
2525
run: |
2626
gh issue edit $ISSUE_NUMBER --repo $REPOSITORY_NAME --add-label "pending-maintainer-response"

0 commit comments

Comments
 (0)