Skip to content

Commit 8c0a1a0

Browse files
Copilotpelikhan
andauthored
[actions] Update GitHub Actions versions - 2026-06-13
- github/gh-aw/actions/setup-cli: v0.78.3 → v0.79.8 - microsoft/apm-action: SHA update (v1.9.1) - ruby/setup-ruby: v1.310.0 → v1.313.0 - Update workflows from source: ci-doctor, daily-team-status, dependabot-repair Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
1 parent 38afc98 commit 8c0a1a0

6 files changed

Lines changed: 178 additions & 65 deletions

File tree

.github/aw/actions-lock.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,10 @@
150150
"version": "v4.36.2",
151151
"sha": "8aad20d150bbac5944a9f9d289da16a4b0d87c1e"
152152
},
153-
"github/gh-aw/actions/setup-cli@v0.78.3": {
153+
"github/gh-aw/actions/setup-cli@v0.79.8": {
154154
"repo": "github/gh-aw/actions/setup-cli",
155-
"version": "v0.78.3",
156-
"sha": "544dd7355d846f9a7a1a5817a18148442e9ffe35"
155+
"version": "v0.79.8",
156+
"sha": "8b02ab336d100a5746e9f53b8bc2b22878278a6f"
157157
},
158158
"github/stale-repos@v9.0.14": {
159159
"repo": "github/stale-repos",
@@ -168,17 +168,17 @@
168168
"microsoft/apm-action@v1.9.1": {
169169
"repo": "microsoft/apm-action",
170170
"version": "v1.9.1",
171-
"sha": "ce02c22416172beb70072c5910b2163ee3f006f6"
171+
"sha": "e5650fb81c4b5965090a17bd1ed1956071e95d17"
172172
},
173173
"oven-sh/setup-bun@v2.2.0": {
174174
"repo": "oven-sh/setup-bun",
175175
"version": "v2.2.0",
176176
"sha": "0c5077e51419868618aeaa5fe8019c62421857d6"
177177
},
178-
"ruby/setup-ruby@v1.310.0": {
178+
"ruby/setup-ruby@v1.313.0": {
179179
"repo": "ruby/setup-ruby",
180-
"version": "v1.310.0",
181-
"sha": "afeafc3d1ab54a631816aba4c914a0081c12ff2f"
180+
"version": "v1.313.0",
181+
"sha": "89f90524b88a01fe6e0b732220432cc6142926af"
182182
},
183183
"safedep/pmg@v1": {
184184
"repo": "safedep/pmg",

.github/workflows/ci-doctor.md

Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,18 @@
11
---
2+
<<<<<<< current (local changes)
23
emoji: "🏥"
34
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
5+
||||||| base (original)
6+
=======
7+
description: |
8+
This workflow is an automated CI failure investigator that triggers when monitored workflows fail.
9+
Performs deep analysis of GitHub Actions workflow failures to identify root causes,
10+
patterns, and provide actionable remediation steps. Analyzes logs, error messages,
11+
and workflow configuration to help diagnose and resolve CI issues efficiently.
12+
13+
>>>>>>> new (upstream)
414
on:
15+
<<<<<<< current (local changes)
516
label_command:
617
name: ci-doctor
718
events: [pull_request]
@@ -14,17 +25,52 @@ permissions:
1425
issues: read # To search and analyze issues (label removal handled by activation job)
1526
pull-requests: read # To read PR context (comments posted via safe-outputs)
1627
checks: read # To read check run results
28+
||||||| base (original)
29+
workflow_run:
30+
workflows: ["Daily Perf Improver", "Daily Test Coverage Improver"] # Monitor the CI workflow specifically
31+
types:
32+
- completed
33+
branches:
34+
- main
35+
# This will trigger only when the CI workflow completes with failure
36+
# The condition is handled in the workflow body
37+
stop-after: +1mo
38+
39+
# Only trigger for failures - check in the workflow body
40+
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
41+
42+
permissions: read-all
43+
=======
44+
workflow_run:
45+
workflows: ["Daily Perf Improver", "Daily Test Coverage Improver"] # Monitor the CI workflow specifically
46+
types:
47+
- completed
48+
branches:
49+
- main
50+
51+
# Only trigger for failures - check in the workflow body
52+
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
53+
54+
permissions: read-all
55+
>>>>>>> new (upstream)
1756

1857
network: defaults
1958

2059
engine: claude
2160

2261
safe-outputs:
2362
create-issue:
63+
<<<<<<< current (local changes)
2464
expires: 1d
2565
title-prefix: "[CI Failure Doctor] "
2666
labels: [cookie]
2767
close-older-issues: true
68+
||||||| base (original)
69+
title-prefix: "${{ github.workflow }}"
70+
=======
71+
title-prefix: "[ci-doctor] "
72+
labels: [automation, ci]
73+
>>>>>>> new (upstream)
2874
add-comment:
2975
max: 1
3076
hide-older-comments: true
@@ -42,6 +88,7 @@ tools:
4288
cli-proxy: true
4389
cache-memory: true
4490
web-fetch:
91+
<<<<<<< current (local changes)
4592
web-search:
4693
github:
4794
mode: gh-proxy
@@ -202,13 +249,28 @@ steps:
202249
203250
echo ""
204251
echo "✅ PR pre-analysis complete. Agent should start with $SUMMARY_FILE"
252+
||||||| base (original)
253+
web-search:
254+
255+
timeout-minutes: 10
256+
=======
205257

258+
timeout-minutes: 10
259+
>>>>>>> new (upstream)
260+
261+
<<<<<<< current (local changes)
206262
source: githubnext/agentics/workflows/ci-doctor.md@ea350161ad5dcc9624cf510f134c6a9e39a6f94d
207263

264+
||||||| base (original)
265+
source: githubnext/agentics/workflows/ci-doctor.md@ea350161ad5dcc9624cf510f134c6a9e39a6f94d
266+
=======
267+
source: githubnext/agentics/workflows/ci-doctor.md@e15e57b40918dbca11b350c55d02ab61934afa75
268+
>>>>>>> new (upstream)
208269
---
209270

210271
# CI Failure Doctor
211272

273+
<<<<<<< current (local changes)
212274
You are the CI Failure Doctor, an expert investigative agent that analyzes failed GitHub Actions checks to identify root causes and patterns. You operate in one of two modes depending on the trigger:
213275

214276
- **PR Check Review Mode** — triggered when someone applies the `ci-doctor` label to a pull request; reviews the PR's failing CI checks and posts a diagnostic comment.
@@ -294,6 +356,11 @@ Check run data was fetched before this session:
294356
{{/if}}
295357
{{#if github.event.workflow_run.id}}
296358
## CI Failure Investigation Mode
359+
||||||| base (original)
360+
You are the CI Failure Doctor, an expert investigative agent that analyzes failed GitHub Actions workflows to identify root causes and patterns. Your mission is to conduct a deep investigation when the CI workflow fails.
361+
=======
362+
You are the CI Failure Doctor, an expert investigative agent that analyzes failed GitHub Actions workflows to identify root causes and patterns. Your goal is to conduct a deep investigation when the CI workflow fails.
363+
>>>>>>> new (upstream)
297364
298365
## Current Context
299366

@@ -320,21 +387,42 @@ Logs and artifacts have been pre-downloaded before this session started:
320387
**ONLY proceed if the workflow conclusion is 'failure' or 'cancelled'**. If the workflow was successful, **call the `noop` tool** immediately and exit.
321388

322389
### Phase 1: Initial Triage
390+
323391
1. **Verify Failure**: Check that `${{ github.event.workflow_run.conclusion }}` is `failure` or `cancelled`
392+
<<<<<<< current (local changes)
324393
- **If the workflow was successful**: Call the `noop` tool with message "CI workflow completed successfully - no investigation needed" and **stop immediately**. Do not proceed with any further analysis.
325394
- **If the workflow failed or was cancelled**: Proceed with the investigation steps below.
326395
2. **Get Workflow Details**: Use `get_workflow_run` to get full details of the failed run
327396
3. **List Jobs**: Use `list_workflow_jobs` to identify which specific jobs failed
328397
4. **Quick Assessment**: Determine if this is a new type of failure or a recurring pattern
398+
||||||| base (original)
399+
2. **Get Workflow Details**: Use `get_workflow_run` to get full details of the failed run
400+
3. **List Jobs**: Use `list_workflow_jobs` to identify which specific jobs failed
401+
4. **Quick Assessment**: Determine if this is a new type of failure or a recurring pattern
402+
=======
403+
2. **Deduplication Check**: Read `/tmp/memory/investigations/analyzed-runs.json` from the cache. If the current run ID (`${{ github.event.workflow_run.id }}`) is already listed, **stop immediately** — this run has already been investigated. After completing a new investigation, append the run ID to this index to prevent re-analysis.
404+
3. **Get Workflow Details**: Use `get_workflow_run` to get full details of the failed run
405+
4. **List Jobs**: Use `list_workflow_jobs` to identify which specific jobs failed
406+
5. **Quick Assessment**: Determine if this is a new type of failure or a recurring pattern
407+
>>>>>>> new (upstream)
329408
330409
### Phase 2: Deep Log Analysis
410+
<<<<<<< current (local changes)
331411
1. **Use Pre-Downloaded Logs and Artifacts**: Use the files in `/tmp/gh-aw/agent/ci-doctor/`:
332412
- Read the summary and hint files first (minimal context load)
333413
- Read ±10 lines around each hinted line number in the full log or artifact file
334414
- Check `/tmp/gh-aw/agent/ci-doctor/artifacts/` for any structured output (test reports, coverage, etc.)
335415
- Only load the full log content if the hints are insufficient
336416
2. **Fallback Log Retrieval**: If pre-downloaded files are unavailable, use `get_job_logs` with `failed_only=true`, `return_content=true`, and `tail_lines=100` to get the most relevant portion of logs directly (avoids downloading large blob files). Do NOT use `web-fetch` on blob storage log URLs.
337417
3. **Pattern Recognition**: Analyze logs for:
418+
||||||| base (original)
419+
1. **Retrieve Logs**: Use `get_job_logs` with `failed_only=true` to get logs from all failed jobs
420+
2. **Pattern Recognition**: Analyze logs for:
421+
=======
422+
423+
1. **Retrieve Logs**: Use `get_job_logs` with `failed_only=true` to get logs from all failed jobs
424+
2. **Pattern Recognition**: Analyze logs for:
425+
>>>>>>> new (upstream)
338426
- Error messages and stack traces
339427
- Dependency installation failures
340428
- Test failures with specific patterns
@@ -349,6 +437,7 @@ Logs and artifacts have been pre-downloaded before this session started:
349437
- Timing patterns
350438

351439
### Phase 3: Historical Context Analysis
440+
352441
1. **Search Investigation History**: Use file-based storage to search for similar failures:
353442
- Read from cached investigation files in `/tmp/gh-aw/agent/memory/investigations/`
354443
- Parse previous failure patterns and solutions
@@ -358,6 +447,7 @@ Logs and artifacts have been pre-downloaded before this session started:
358447
4. **PR Context**: If triggered by a PR, analyze the changed files
359448

360449
### Phase 4: Root Cause Investigation
450+
361451
1. **Categorize Failure Type**:
362452
- **Code Issues**: Syntax errors, logic bugs, test failures
363453
- **Infrastructure**: Runner issues, network problems, resource constraints
@@ -373,6 +463,7 @@ Logs and artifacts have been pre-downloaded before this session started:
373463
- For timeout issues: Identify slow operations and bottlenecks
374464

375465
### Phase 5: Pattern Storage and Knowledge Building
466+
376467
1. **Store Investigation**: Save structured investigation data to files:
377468
- Write investigation report to `/tmp/gh-aw/agent/memory/investigations/<timestamp>-<run-id>.json`
378469
- **Important**: Use filesystem-safe timestamp format `YYYY-MM-DD-HH-MM-SS-sss` (e.g., `2026-02-12-11-20-45-458`)
@@ -382,6 +473,7 @@ Logs and artifacts have been pre-downloaded before this session started:
382473
2. **Update Pattern Database**: Enhance knowledge with new findings by updating pattern files
383474
3. **Save Artifacts**: Store detailed logs and analysis in the cached directories
384475

476+
<<<<<<< current (local changes)
385477
### Phase 6: Looking for existing issues and closing older ones
386478

387479
1. **Search for existing CI failure doctor issues**
@@ -407,6 +499,35 @@ Logs and artifacts have been pre-downloaded before this session started:
407499
- Otherwise, continue to create a new issue with fresh investigation data
408500

409501
### Phase 7: Reporting and Recommendations
502+
||||||| base (original)
503+
### Phase 6: Looking for existing issues
504+
505+
1. **Convert the report to a search query**
506+
- Use any advanced search features in GitHub Issues to find related issues
507+
- Look for keywords, error messages, and patterns in existing issues
508+
2. **Judge each match issues for relevance**
509+
- Analyze the content of the issues found by the search and judge if they are similar to this issue.
510+
3. **Add issue comment to duplicate issue and finish**
511+
- If you find a duplicate issue, add a comment with your findings and close the investigation.
512+
- Do NOT open a new issue since you found a duplicate already (skip next phases).
513+
514+
### Phase 6: Reporting and Recommendations
515+
=======
516+
### Phase 6: Looking for existing issues
517+
518+
1. **Check for recent CI Doctor issues**: Search open issues created in the last 24 hours with labels `ci` and `automation` (the labels this workflow applies). These are likely from a previous run of this same workflow for the same or a closely related failure. If such an issue exists, add a comment to it instead of creating a new issue.
519+
2. **Convert the report to a search query**
520+
- Use any advanced search features in GitHub Issues to find related issues
521+
- Look for keywords, error messages, and patterns in existing issues
522+
3. **Judge each match for relevance**
523+
- Analyze the content of the issues found by the search and judge if they are similar to this issue.
524+
4. **Add issue comment to duplicate issue and finish**
525+
- If you find a duplicate issue, add a comment with your findings and close the investigation.
526+
- Do NOT open a new issue since you found a duplicate already (skip next phases).
527+
528+
### Phase 7: Reporting and Recommendations
529+
530+
>>>>>>> new (upstream)
410531
1. **Create Investigation Report**: Generate a comprehensive analysis including:
411532
- **Executive Summary**: Quick overview of the failure
412533
- **Root Cause**: Detailed explanation of what went wrong
Lines changed: 23 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,43 @@
11
---
2-
emoji: "📅"
3-
timeout-minutes: 10
4-
strict: true
2+
description: |
3+
This workflow is a daily team status reporter creating upbeat activity summaries.
4+
Gathers recent repository activity (issues, PRs, discussions, releases, code changes)
5+
and generates engaging GitHub issues with productivity insights, community
6+
highlights, and project recommendations. Uses a positive, encouraging tone with
7+
moderate emoji usage to boost team morale.
8+
59
on:
6-
schedule:
7-
- cron: "daily around 9:00 on weekdays"
8-
stop-after: +1mo
9-
workflow_dispatch: null
10+
schedule: daily
11+
workflow_dispatch:
12+
1013
permissions:
1114
contents: read
1215
issues: read
1316
pull-requests: read
14-
tracker-id: daily-team-status
17+
1518
network: defaults
16-
imports:
17-
- uses: shared/daily-audit-base.md
18-
with:
19-
title-prefix: "[team-status] "
20-
expires: 1d
21-
- shared/otlp.md
19+
20+
tools:
21+
github:
22+
min-integrity: none # This workflow is allowed to examine and comment on any issues
23+
2224
safe-outputs:
25+
mentions: false
26+
allowed-github-references: []
2327
create-issue:
24-
expires: 1d
2528
title-prefix: "[team-status] "
26-
labels: [automation, daily-report]
27-
description: |
28-
This workflow created daily team status reporter creating upbeat activity summaries.
29-
Gathers recent repository activity (issues, PRs, releases, code changes)
30-
and generates engaging GitHub issues with productivity insights, community
31-
highlights, and project recommendations. Uses a positive, encouraging tone with
32-
moderate emoji usage to boost team morale.
33-
source: githubnext/agentics/workflows/daily-team-status.md@d3422bf940923ef1d43db5559652b8e1e71869f3
34-
tools:
35-
cli-proxy: true
36-
github: null
37-
38-
29+
labels: [report, daily-status]
30+
close-older-issues: true
31+
source: githubnext/agentics/workflows/team-status.md@main
3932
---
4033

41-
{{#runtime-import? .github/shared-instructions.md}}
42-
43-
{{#runtime-import .github/shared/editorial.md}}
44-
45-
# Daily Team Status
34+
# Team Status
4635

4736
Create an upbeat daily status report for the team as a GitHub issue.
4837

4938
## What to include
5039

51-
- Recent repository activity (issues, PRs, releases, code changes)
40+
- Recent repository activity (issues, PRs, discussions, releases, code changes)
5241
- Team productivity suggestions and improvement ideas
5342
- Community engagement highlights
5443
- Project investment and feature recommendations
@@ -63,5 +52,3 @@ Create an upbeat daily status report for the team as a GitHub issue.
6352

6453
1. Gather recent activity from the repository
6554
2. Create a new GitHub issue with your findings and insights
66-
67-
{{#runtime-import shared/noop-reminder.md}}

0 commit comments

Comments
 (0)