Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: notify comments on closed issues #1739

Merged
merged 2 commits into from
May 19, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/notify_comments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: Notify Comments on PCR

# Controls when the workflow will run
on:
# Triggers the workflow on comment events on pending response issues
# Triggers the workflow on comment events on closed, pending response and closing soon issues
issue_comment:
types: [created]

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

if: ${{ !github.event.issue.pull_request && (contains(github.event.issue.labels.*.name, 'pending-response') || contains(github.event.issue.labels.*.name, 'closing soon')) }}
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')) }}

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