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>
This commit is contained in:
tidy-dev 2026-03-10 11:44:55 -04:00
parent 089e461087
commit c9afc3c089

View file

@ -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