Skip to content

Commit 2ca223e

Browse files
authored
Replace agentic-workflows tool with shared/mcp/gh-aw.md import in dev-hawk.md (#5995)
1 parent 5a23f53 commit 2ca223e

2 files changed

Lines changed: 43 additions & 28 deletions

File tree

.github/workflows/dev-hawk.lock.yml

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

.github/workflows/dev-hawk.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ permissions:
1616
pull-requests: read
1717
engine: copilot
1818
tools:
19-
agentic-workflows:
2019
github:
2120
toolsets: [pull_requests, actions, repos]
21+
imports:
22+
- shared/mcp/gh-aw.md
2223
safe-outputs:
2324
add-comment:
2425
max: 1
@@ -70,11 +71,11 @@ Once you've confirmed a PR exists:
7071
- Calculate execution time if available
7172

7273
**For failed/cancelled workflows:**
73-
- Use the agentic-workflows `audit` tool with run_id `${{ github.event.workflow_run.id }}` to:
74+
- Use the gh-aw MCP server `audit` tool with run_id `${{ github.event.workflow_run.id }}` to:
7475
- Investigate the failure
7576
- Identify root cause errors
7677
- Extract relevant error messages and patterns
77-
- Use the agentic-workflows `logs` tool to download logs if needed for additional context
78+
- Use the gh-aw MCP server `logs` tool to download logs if needed for additional context
7879
- Analyze error patterns and categorize the failure type:
7980
- Code issues (syntax, logic, tests)
8081
- Infrastructure problems
@@ -128,7 +129,7 @@ The Dev workflow completed successfully! 🎉
128129
- **Always verify PR exists first** - abandon if no PR is found
129130
- **Be thorough** in analysis but concise in reporting
130131
- **Focus on actionable insights** rather than just describing what happened
131-
- **Use the agentic-workflows audit tool** for automated failure investigation
132+
- **Use the gh-aw MCP server audit tool** for automated failure investigation
132133
- **Include specific error messages** and file locations when available
133134
- **Categorize failures** to help developers understand the type of issue
134135
- **Always include the run URL** for easy navigation to the full logs

0 commit comments

Comments
 (0)