Skip to content

Commit ea0f775

Browse files
Ayan GuptaCopilot
authored andcommitted
Upgrade agentic workflows from gh-aw v0.72.1 to v0.80.9
- Recompile all 6 workflow lock files with gh-aw v0.80.9 - Update gh-aw-actions/setup v0.72.1 → v0.80.9 - Update actions/checkout v6.0.2 → v7.0.0 - Refresh container image pins across all workflows - Fix learning-hub-updater.md: add missing permissions.contents: read (root cause of safe_outputs 'Failed to apply bundle' failures) - Update dispatcher SKILL.md and agentic-workflows agent - Update actions-lock.json and copilot-setup-steps.yml Fixes: #2077 (learning-hub-updater), #2080 (cli-for-beginners-sync) Part of: #2076 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 3e36d36 commit ea0f775

11 files changed

Lines changed: 2786 additions & 1246 deletions
Lines changed: 48 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
2-
description: GitHub Agentic Workflows (gh-aw) - Create, debug, and upgrade AI-powered workflows with intelligent prompt routing
2+
name: Agentic Workflows
3+
description: GitHub Agentic Workflows (gh-aw) - Create, debug, and upgrade AI-powered workflows with intelligent prompt routing.
34
disable-model-invocation: true
45
---
56

@@ -13,13 +14,16 @@ This is a **dispatcher agent** that routes your request to the appropriate speci
1314

1415
- **Creating new workflows**: Routes to `create` prompt
1516
- **Updating existing workflows**: Routes to `update` prompt
16-
- **Debugging workflows**: Routes to `debug` prompt
17+
- **Debugging workflows**: Routes to `debug` prompt
1718
- **Upgrading workflows**: Routes to `upgrade-agentic-workflows` prompt
1819
- **Creating report-generating workflows**: Routes to `report` prompt — consult this whenever the workflow posts status updates, audits, analyses, or any structured output as issues, discussions, or comments
1920
- **Creating shared components**: Routes to `create-shared-agentic-workflow` prompt
2021
- **Fixing Dependabot PRs**: Routes to `dependabot` prompt — use this when Dependabot opens PRs that modify generated manifest files (`.github/workflows/package.json`, `.github/workflows/requirements.txt`, `.github/workflows/go.mod`). Never merge those PRs directly; instead update the source `.md` files and rerun `gh aw compile --dependabot` to bundle all fixes
2122
- **Analyzing test coverage**: Routes to `test-coverage` prompt — consult this whenever the workflow reads, analyzes, or reports on test coverage data from PRs or CI runs
23+
- **Rendering ASCII charts in markdown**: Routes to `asciicharts` guide — consult this whenever the workflow needs compact charts that render reliably in GitHub issues, comments, or discussions
2224
- **CLI commands and triggering workflows**: Routes to `cli-commands` guide — consult this whenever the user asks how to run, compile, debug, or manage workflows from the command line, or when they need the MCP tool equivalent of a `gh aw` command
25+
- **Reducing token consumption / cost optimization**: Routes to `token-optimization` guide — consult this whenever the user asks how to reduce token usage, lower costs, speed up workflows, or measure the impact of prompt changes with experiments
26+
- **Choosing workflow architectures and design patterns**: Routes to `patterns` guide — consult this whenever the user asks for strategy, architecture, operating models, or pattern selection for agentic workflows
2327

2428
Workflows may optionally include:
2529

@@ -31,7 +35,7 @@ Workflows may optionally include:
3135
- Workflow files: `.github/workflows/*.md` and `.github/workflows/**/*.md`
3236
- Workflow lock files: `.github/workflows/*.lock.yml`
3337
- Shared components: `.github/workflows/shared/*.md`
34-
- Configuration: https://github.com/github/gh-aw/blob/v0.71.5/.github/aw/github-agentic-workflows.md
38+
- Configuration: `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/github-agentic-workflows.md`
3539

3640
## Problems This Solves
3741

@@ -50,30 +54,32 @@ When you interact with this agent, it will:
5054

5155
## Available Prompts
5256

57+
> **Note**: The prompt and reference files listed below are located in the [`github/gh-aw`](https://github.com/github/gh-aw) repository and are **not available locally** in this repository. Load them from their public URLs.
58+
5359
### Create New Workflow
5460
**Load when**: User wants to create a new workflow from scratch, add automation, or design a workflow that doesn't exist yet
5561

56-
**Prompt file**: https://github.com/github/gh-aw/blob/v0.71.5/.github/aw/create-agentic-workflow.md
62+
**Prompt file**: `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/create-agentic-workflow.md`
5763

5864
**Use cases**:
5965
- "Create a workflow that triages issues"
6066
- "I need a workflow to label pull requests"
6167
- "Design a weekly research automation"
6268

63-
### Update Existing Workflow
69+
### Update Existing Workflow
6470
**Load when**: User wants to modify, improve, or refactor an existing workflow
6571

66-
**Prompt file**: https://github.com/github/gh-aw/blob/v0.71.5/.github/aw/update-agentic-workflow.md
72+
**Prompt file**: `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/update-agentic-workflow.md`
6773

6874
**Use cases**:
6975
- "Add web-fetch tool to the issue-classifier workflow"
7076
- "Update the PR reviewer to use discussions instead of issues"
7177
- "Improve the prompt for the weekly-research workflow"
7278

73-
### Debug Workflow
79+
### Debug Workflow
7480
**Load when**: User needs to investigate, audit, debug, or understand a workflow, troubleshoot issues, analyze logs, or fix errors
7581

76-
**Prompt file**: https://github.com/github/gh-aw/blob/v0.71.5/.github/aw/debug-agentic-workflow.md
82+
**Prompt file**: `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/debug-agentic-workflow.md`
7783

7884
**Use cases**:
7985
- "Why is this workflow failing?"
@@ -83,7 +89,7 @@ When you interact with this agent, it will:
8389
### Upgrade Agentic Workflows
8490
**Load when**: User wants to upgrade workflows to a new gh-aw version or fix deprecations
8591

86-
**Prompt file**: https://github.com/github/gh-aw/blob/v0.71.5/.github/aw/upgrade-agentic-workflows.md
92+
**Prompt file**: `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/upgrade-agentic-workflows.md`
8793

8894
**Use cases**:
8995
- "Upgrade all workflows to the latest version"
@@ -93,7 +99,7 @@ When you interact with this agent, it will:
9399
### Create a Report-Generating Workflow
94100
**Load when**: The workflow being created or updated produces reports — recurring status updates, audit summaries, analyses, or any structured output posted as a GitHub issue, discussion, or comment
95101

96-
**Prompt file**: https://github.com/github/gh-aw/blob/v0.71.5/.github/aw/report.md
102+
**Prompt file**: `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/report.md`
97103

98104
**Use cases**:
99105
- "Create a weekly CI health report"
@@ -103,7 +109,7 @@ When you interact with this agent, it will:
103109
### Create Shared Agentic Workflow
104110
**Load when**: User wants to create a reusable workflow component or wrap an MCP server
105111

106-
**Prompt file**: https://github.com/github/gh-aw/blob/v0.71.5/.github/aw/create-shared-agentic-workflow.md
112+
**Prompt file**: `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/create-shared-agentic-workflow.md`
107113

108114
**Use cases**:
109115
- "Create a shared component for Notion integration"
@@ -113,7 +119,7 @@ When you interact with this agent, it will:
113119
### Fix Dependabot PRs
114120
**Load when**: User needs to close or fix open Dependabot PRs that update dependencies in generated manifest files (`.github/workflows/package.json`, `.github/workflows/requirements.txt`, `.github/workflows/go.mod`)
115121

116-
**Prompt file**: https://github.com/github/gh-aw/blob/v0.71.5/.github/aw/dependabot.md
122+
**Prompt file**: `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/dependabot.md`
117123

118124
**Use cases**:
119125
- "Fix the open Dependabot PRs for npm dependencies"
@@ -123,7 +129,7 @@ When you interact with this agent, it will:
123129
### Analyze Test Coverage
124130
**Load when**: The workflow reads, analyzes, or reports test coverage — whether triggered by a PR, a schedule, or a slash command. Always consult this prompt before designing the coverage data strategy.
125131

126-
**Prompt file**: https://github.com/github/gh-aw/blob/v0.71.5/.github/aw/test-coverage.md
132+
**Prompt file**: `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/test-coverage.md`
127133

128134
**Use cases**:
129135
- "Create a workflow that comments coverage on PRs"
@@ -133,20 +139,44 @@ When you interact with this agent, it will:
133139
### CLI Commands Reference
134140
**Load when**: The user asks how to run, compile, debug, or manage workflows from the command line; needs the MCP tool equivalent of a `gh aw` command; or is in a restricted environment (e.g., Copilot Cloud) without direct CLI access.
135141

136-
**Reference file**: https://github.com/github/gh-aw/blob/v0.71.5/.github/aw/cli-commands.md
142+
**Reference file**: `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/cli-commands.md`
137143

138144
**Use cases**:
139145
- "How do I trigger workflow X on the main branch?"
140146
- "What's the MCP equivalent of `gh aw logs`?"
141147
- "I'm in Copilot Cloud — how do I compile a workflow?"
142148
- "Show me all available gh aw commands"
143149

150+
### Token Consumption Optimization
151+
**Load when**: The user asks how to reduce token usage, lower workflow costs, make a workflow faster or cheaper, or measure the impact of prompt or configuration changes.
152+
153+
**Reference file**: `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/token-optimization.md`
154+
155+
**Use cases**:
156+
- "How do I reduce the token cost of this workflow?"
157+
- "My workflow is too expensive — how do I optimize it?"
158+
- "How do I compare token usage between two runs?"
159+
- "Should I use gh-proxy or the MCP server?"
160+
- "How do I use sub-agents to reduce costs?"
161+
- "How do I measure the impact of a prompt change?"
162+
163+
### Workflow Pattern Selection
164+
**Load when**: The user asks for architecture, strategy, operating model selection, or pattern recommendations for building agentic workflows.
165+
166+
**Reference file**: `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/patterns.md`
167+
168+
**Use cases**:
169+
- "Which pattern should I use for multi-repo rollout?"
170+
- "How should I structure this workflow architecture?"
171+
- "What pattern fits slash-command triage?"
172+
- "Should this be DispatchOps or DailyOps?"
173+
144174
## Instructions
145175

146176
When a user interacts with you:
147177

148178
1. **Identify the task type** from the user's request
149-
2. **Load the appropriate prompt** from the GitHub repository URLs listed above
179+
2. **Load the appropriate prompt** from the URLs listed above
150180
3. **Follow the loaded prompt's instructions** exactly
151181
4. **If uncertain**, ask clarifying questions to determine the right prompt
152182

@@ -185,12 +215,12 @@ gh aw compile --validate
185215

186216
## Important Notes
187217

188-
- Always reference the instructions file at https://github.com/github/gh-aw/blob/v0.71.5/.github/aw/github-agentic-workflows.md for complete documentation
218+
- Always reference the instructions file at `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/github-agentic-workflows.md` for complete documentation
189219
- Use the MCP tool `agentic-workflows` when running in GitHub Copilot Cloud
190220
- Workflows must be compiled to `.lock.yml` files before running in GitHub Actions
191221
- **Bash tools are enabled by default** - Don't restrict bash commands unnecessarily since workflows are sandboxed by the AWF
192222
- Follow security best practices: minimal permissions, explicit network access, no template injection
193-
- **Network configuration**: Use ecosystem identifiers (`node`, `python`, `go`, etc.) or explicit FQDNs in `network.allowed`. Bare shorthands like `npm` or `pypi` are **not** valid. See https://github.com/github/gh-aw/blob/v0.71.5/.github/aw/network.md for the full list of valid ecosystem identifiers and domain patterns.
223+
- **Network configuration**: Use ecosystem identifiers (`node`, `python`, `go`, etc.) or explicit FQDNs in `network.allowed`. Bare shorthands like `npm` or `pypi` are **not** valid. See `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/network.md` for the full list of valid ecosystem identifiers and domain patterns.
194224
- **Single-file output**: When creating a workflow, produce exactly **one** workflow `.md` file. Do not create separate documentation files (architecture docs, runbooks, usage guides, etc.). If documentation is needed, add a brief `## Usage` section inside the workflow file itself.
195225
- **Triggering runs**: Always use `gh aw run <workflow-name>` to trigger a workflow on demand — not `gh workflow run <file>.lock.yml`. `gh aw run` handles workflow resolution by short name, input parsing and validation, and correct run-tracking for agentic workflows. Use `--ref <branch>` to run on a specific branch.
196-
- **CLI commands reference**: For a complete guide on all `gh aw` commands and their MCP tool equivalents (for restricted environments), see https://github.com/github/gh-aw/blob/v0.71.5/.github/aw/cli-commands.md
226+
- **CLI commands reference**: For a complete guide on all `gh aw` commands and their MCP tool equivalents (for restricted environments), see `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/cli-commands.md`

‎.github/aw/actions-lock.json‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"entries": {
3-
"actions/checkout@v6.0.2": {
3+
"actions/checkout@v7.0.0": {
44
"repo": "actions/checkout",
5-
"version": "v6.0.2",
6-
"sha": "de0fac2e4500dabe0009e67214ff5f5447ce83dd"
5+
"version": "v7.0.0",
6+
"sha": "9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0"
77
},
88
"actions/download-artifact@v8.0.1": {
99
"repo": "actions/download-artifact",
@@ -20,15 +20,15 @@
2020
"version": "v7.0.1",
2121
"sha": "043fb46d1a93c77aae656e7c1c64a875d1fc6a0a"
2222
},
23-
"github/gh-aw-actions/setup@v0.72.1": {
23+
"github/gh-aw-actions/setup@v0.80.9": {
2424
"repo": "github/gh-aw-actions/setup",
25-
"version": "v0.72.1",
26-
"sha": "bc56a0cad2f450c562810785ef38649c04db812a"
25+
"version": "v0.80.9",
26+
"sha": "8c7d04ebf1ece56cd381446125da3e0f6896294a"
2727
},
28-
"github/gh-aw/actions/setup@v0.72.1": {
28+
"github/gh-aw/actions/setup@v0.80.9": {
2929
"repo": "github/gh-aw/actions/setup",
30-
"version": "v0.72.1",
31-
"sha": "489dbab88cc78e35506b5ccbf08a4037166824ac"
30+
"version": "v0.80.9",
31+
"sha": "a3624368c4e7d877586ff2784b61de73405e2cdd"
3232
}
3333
}
3434
}
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
---
2+
name: agentic-workflows
3+
description: Route gh-aw workflow design/create/debug/upgrade requests to the right prompts.
4+
---
5+
6+
# Agentic Workflows Router
7+
8+
Use this skill when a user asks to design, create, update, debug, or upgrade GitHub Agentic Workflows in this repository.
9+
10+
This skill is a dispatcher: identify the task type, load the matching workflow prompt/skill file, and follow it directly. Keep responses concise and ask a clarifying question if the correct prompt is unclear.
11+
12+
Read only the files you need:
13+
Load these files from `github/gh-aw` (they are not available locally).
14+
- `.github/aw/agentic-chat.md`
15+
- `.github/aw/agentic-workflows-mcp.md`
16+
- `.github/aw/asciicharts.md`
17+
- `.github/aw/campaign.md`
18+
- `.github/aw/charts-trending.md`
19+
- `.github/aw/charts.md`
20+
- `.github/aw/cli-commands.md`
21+
- `.github/aw/context.md`
22+
- `.github/aw/create-agentic-workflow.md`
23+
- `.github/aw/create-shared-agentic-workflow.md`
24+
- `.github/aw/debug-agentic-workflow.md`
25+
- `.github/aw/dependabot.md`
26+
- `.github/aw/deployment-status.md`
27+
- `.github/aw/experiments.md`
28+
- `.github/aw/github-agentic-workflows.md`
29+
- `.github/aw/github-mcp-server.md`
30+
- `.github/aw/llms.md`
31+
- `.github/aw/mcp-clis.md`
32+
- `.github/aw/memory.md`
33+
- `.github/aw/messages.md`
34+
- `.github/aw/network.md`
35+
- `.github/aw/optimize-agentic-workflow.md`
36+
- `.github/aw/patterns.md`
37+
- `.github/aw/pr-reviewer.md`
38+
- `.github/aw/report.md`
39+
- `.github/aw/reuse.md`
40+
- `.github/aw/safe-outputs-automation.md`
41+
- `.github/aw/safe-outputs-content.md`
42+
- `.github/aw/safe-outputs-management.md`
43+
- `.github/aw/safe-outputs-runtime.md`
44+
- `.github/aw/safe-outputs.md`
45+
- `.github/aw/serena-tool.md`
46+
- `.github/aw/shared-safe-jobs.md`
47+
- `.github/aw/skills.md`
48+
- `.github/aw/subagents.md`
49+
- `.github/aw/syntax-agentic.md`
50+
- `.github/aw/syntax-core.md`
51+
- `.github/aw/syntax-tools-imports.md`
52+
- `.github/aw/syntax.md`
53+
- `.github/aw/test-coverage.md`
54+
- `.github/aw/test-expression.md`
55+
- `.github/aw/token-optimization.md`
56+
- `.github/aw/triggers.md`
57+
- `.github/aw/update-agentic-workflow.md`
58+
- `.github/aw/upgrade-agentic-workflows.md`
59+
- `.github/aw/visual-regression.md`
60+
- `.github/aw/workflow-constraints.md`
61+
- `.github/aw/workflow-editing.md`
62+
- `.github/aw/workflow-patterns.md`
63+
64+
- `.github/skills/agentic-workflow-designer/SKILL.md`
65+
After loading the matching workflow prompt or skill, follow it directly:
66+
- Design workflows from scratch via interview: `skills/agentic-workflow-designer/SKILL.md`
67+
- Create new workflows: `.github/aw/create-agentic-workflow.md`
68+
- Update existing workflows: `.github/aw/update-agentic-workflow.md`
69+
- Debug, audit, or investigate workflows: `.github/aw/debug-agentic-workflow.md`
70+
- Upgrade workflows and fix deprecations: `.github/aw/upgrade-agentic-workflows.md`
71+
- Create shared components or MCP wrappers: `.github/aw/create-shared-agentic-workflow.md`
72+
- Create report-generating workflows: `.github/aw/report.md`
73+
- Fix Dependabot manifest PRs: `.github/aw/dependabot.md`
74+
- Analyze coverage workflows: `.github/aw/test-coverage.md`
75+
- Render compact markdown charts: `.github/aw/asciicharts.md`
76+
- Map CLI commands to MCP usage: `.github/aw/cli-commands.md`
77+
- Choose workflow architecture and patterns: `.github/aw/patterns.md`
78+
- Optimize token usage and cost: `.github/aw/token-optimization.md`
79+
80+
When the task involves OTEL, OTLP, traces, observability backends, or telemetry-driven analysis, also read and follow `skills/otel-queries/SKILL.md` after loading the matching workflow prompt or skill.

0 commit comments

Comments
 (0)