Skip to content

Commit 6de02c0

Browse files
authored
ci: Fix issue state check (#7962)
Not sure where I got the `closed` stuff from, but this seems to be actually correct based on https://docs.github.com/en/webhooks-and-events/webhooks/webhook-events-and-payloads#issues.
1 parent 7d75fac commit 6de02c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/label-last-commenter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
github.event.comment.author_association != 'COLLABORATOR'
1717
&& github.event.comment.author_association != 'MEMBER'
1818
&& github.event.comment.author_association != 'OWNER'
19-
&& !github.event.issue.closed
19+
&& github.event.issue.state == 'open'
2020
uses: actions-ecosystem/action-add-labels@v1
2121
with:
2222
labels: 'Waiting for: Team'

0 commit comments

Comments
 (0)