Skip to content

Commit da6ddd8

Browse files
authored
Update notify_comments.yml (#2903)
1 parent 138dd94 commit da6ddd8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/notify_comments.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: Notify Comments on PCR
44

55
# Controls when the workflow will run
66
on:
7-
# Triggers the workflow on comment events on pending response issues
7+
# Triggers the workflow on comment events on closed, pending response issues and closing soon issues
88
issue_comment:
99
types: [created]
1010

@@ -15,7 +15,7 @@ jobs:
1515
# The type of runner that the job will run on
1616
runs-on: ubuntu-latest
1717

18-
if: ${{ !github.event.issue.pull_request && (contains(github.event.issue.labels.*.name, 'pending-response') || contains(github.event.issue.labels.*.name, 'closing-soon-if-no-response')) }}
18+
if: ${{ !github.event.issue.pull_request && (github.event.issue.state == "closed" || contains(github.event.issue.labels.*.name, 'pending-response') || contains(github.event.issue.labels.*.name, 'closing-soon-if-no-response')) }}
1919

2020
# Steps represent a sequence of tasks that will be executed as part of the job
2121
steps:

0 commit comments

Comments
 (0)