Skip to content

Commit c9afc3c

Browse files
tidy-devCopilot
andcommitted
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>
1 parent 089e461 commit c9afc3c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/triage-scheduled-tasks.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010

1111
jobs:
1212
no-response:
13+
if: github.event_name == 'issue_comment' || github.event.schedule == '5 * * * *'
1314
uses: desktop/gh-cli-and-desktop-shared-workflows/.github/workflows/triage-no-response-close.yml@main
1415
permissions:
1516
issues: write

0 commit comments

Comments
 (0)