Skip to content
Merged
Show file tree
Hide file tree
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
34 changes: 4 additions & 30 deletions .github/workflows/ci-doctor.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 0 additions & 12 deletions .github/workflows/ci-doctor.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,9 @@
---
description: Investigates failed CI workflows to identify root causes and patterns, creating issues with diagnostic information; also reviews PR check failures when the ci-doctor label is applied
Copy link

Copilot AI Mar 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After removing the workflow_run trigger, the workflow no longer automatically investigates failed CI runs. The frontmatter description still says it investigates failed CI workflows and creates issues; please update it to reflect the remaining PR label-triggered behavior (or reintroduce an appropriate trigger).

This issue also appears on line 3 of the same file.

Suggested change
description: Investigates failed CI workflows to identify root causes and patterns, creating issues with diagnostic information; also reviews PR check failures when the ci-doctor label is applied
description: Reviews PR CI and check failures when the ci-doctor label command is used, identifying root causes and patterns and creating issues with diagnostic information as needed

Copilot uses AI. Check for mistakes.
on:
workflow_run:
workflows: ["CI"] # Monitor the CI workflow specifically
types:
- completed
branches:
- main
# This will trigger only when the CI workflow completes with failure
# The condition is handled in the workflow body
label_command:
name: ci-doctor
events: [pull_request]
stop-after: +1mo

# Allow both CI failure runs and PR label-command triggers
if: (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'failure') || github.event_name == 'pull_request'

permissions:
actions: read # To query workflow runs, jobs, and logs
Expand Down
Loading