Skip to content
Closed
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
2 changes: 0 additions & 2 deletions .github/workflows/smoke-macos-arm64.lock.yml

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

9 changes: 7 additions & 2 deletions actions/setup/js/handle_agent_failure.test.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,15 @@ Assign this issue to the \`agentic-workflows\` agent to automatically debug and

**Option 2: Manually invoke the agent**

Debug this workflow failure using the \`agentic-workflows\` agent:
Debug this workflow failure using the \`agentic-workflows\` agent. Load the agent in your AI coding assistant by either:

- Loading \`.github/agents/agentic-workflows.agent.md\` from this repository, or
- Downloading the agent directly from [GitHub](https://github.com/github/gh-aw/blob/main/.github/agents/agentic-workflows.agent.md)

Then provide this prompt:

\`\`\`
/agent agentic-workflows debug the agentic workflow {workflow_id} failure in {run_url}
debug the agentic workflow {workflow_id} failure in {run_url}
\`\`\``;
} else if (filePath.includes("agent_failure_comment.md")) {
return `Agent job [{run_id}]({run_url}) failed.
Expand Down
9 changes: 7 additions & 2 deletions actions/setup/md/agent_failure_issue.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,13 @@ Assign this issue to the `agentic-workflows` agent to automatically debug and fi

**Option 2: Manually invoke the agent**

Debug this workflow failure using the `agentic-workflows` agent:
Debug this workflow failure using the `agentic-workflows` agent. Load the agent in your AI coding assistant by either:

- Loading `.github/agents/agentic-workflows.agent.md` from this repository, or
- Downloading the agent directly from [GitHub](https://github.com/github/gh-aw/blob/main/.github/agents/agentic-workflows.agent.md)

Then provide this prompt:

```
/agent agentic-workflows debug the agentic workflow {workflow_id} failure in {run_url}
debug the agentic workflow {workflow_id} failure in {run_url}
```