From c9afc3c0895ae0769efb08d4e259b239ffdf1fd6 Mon Sep 17 00:00:00 2001 From: tidy-dev <75402236+tidy-dev@users.noreply.github.com> Date: Tue, 10 Mar 2026 11:44:55 -0400 Subject: [PATCH] fix: add if guard to no-response job to prevent running on workflow_dispatch Prevents no-response from accidentally closing issues when manually dispatching the workflow for pitch surfacing. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/workflows/triage-scheduled-tasks.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/triage-scheduled-tasks.yml b/.github/workflows/triage-scheduled-tasks.yml index 0da0ef2c8..bfa2eb222 100644 --- a/.github/workflows/triage-scheduled-tasks.yml +++ b/.github/workflows/triage-scheduled-tasks.yml @@ -10,6 +10,7 @@ on: jobs: no-response: + if: github.event_name == 'issue_comment' || github.event.schedule == '5 * * * *' uses: desktop/gh-cli-and-desktop-shared-workflows/.github/workflows/triage-no-response-close.yml@main permissions: issues: write