Skip to content

Commit c13dbba

Browse files
patnikoCopilot
andcommitted
fix: trigger runtime triage workflow on label instead of issue open
Switch from issues.opened to issues.labeled trigger with an if-guard on the 'runtime triage' label. This prevents the workflow from self-triggering on framework-created issues (no-op tracking, failure reports) that carry the 'agentic-workflows' label. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 528bd97 commit c13dbba

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/workflows/cross-repo-issue-analysis.lock.yml

Lines changed: 5 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/cross-repo-issue-analysis.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22
description: Analyzes copilot-sdk issues to determine if a fix is needed in copilot-agent-runtime, then opens a linked issue and suggested-fix PR there
33
on:
44
issues:
5-
types: [opened]
5+
types: [labeled]
66
workflow_dispatch:
77
inputs:
88
issue_number:
99
description: "Issue number to analyze"
1010
required: true
1111
type: string
12+
if: "github.event_name == 'workflow_dispatch' || github.event.label.name == 'runtime triage'"
1213
permissions:
1314
contents: read
1415
issues: read

0 commit comments

Comments
 (0)