Skip to content

Commit 71d1609

Browse files
lpcoxCopilot
andcommitted
Upgrade gh-aw to v0.81.6 (pre-release) and recompile all workflows
- Upgraded gh-aw extension to latest pre-release v0.81.6 - Applied codemods (move step run expressions to env bindings) - Updated GitHub Actions versions (checkout v7, setup-go v6.5.0, etc.) - Recompiled all 33 workflows Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent bf13b42 commit 71d1609

47 files changed

Lines changed: 6849 additions & 5194 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/agents/agentic-workflows.md

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Workflows may optionally include:
3535
- Workflow files: `.github/workflows/*.md` and `.github/workflows/**/*.md`
3636
- Workflow lock files: `.github/workflows/*.lock.yml`
3737
- Shared components: `.github/workflows/shared/*.md`
38-
- Configuration: `.github/aw/github-agentic-workflows.md`
38+
- Configuration: `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/github-agentic-workflows.md`
3939

4040
## Problems This Solves
4141

@@ -54,10 +54,12 @@ When you interact with this agent, it will:
5454

5555
## Available Prompts
5656

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+
5759
### Create New Workflow
5860
**Load when**: User wants to create a new workflow from scratch, add automation, or design a workflow that doesn't exist yet
5961

60-
**Prompt file**: `.github/aw/create-agentic-workflow.md`
62+
**Prompt file**: `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/create-agentic-workflow.md`
6163

6264
**Use cases**:
6365
- "Create a workflow that triages issues"
@@ -67,7 +69,7 @@ When you interact with this agent, it will:
6769
### Update Existing Workflow
6870
**Load when**: User wants to modify, improve, or refactor an existing workflow
6971

70-
**Prompt file**: `.github/aw/update-agentic-workflow.md`
72+
**Prompt file**: `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/update-agentic-workflow.md`
7173

7274
**Use cases**:
7375
- "Add web-fetch tool to the issue-classifier workflow"
@@ -77,7 +79,7 @@ When you interact with this agent, it will:
7779
### Debug Workflow
7880
**Load when**: User needs to investigate, audit, debug, or understand a workflow, troubleshoot issues, analyze logs, or fix errors
7981

80-
**Prompt file**: `.github/aw/debug-agentic-workflow.md`
82+
**Prompt file**: `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/debug-agentic-workflow.md`
8183

8284
**Use cases**:
8385
- "Why is this workflow failing?"
@@ -87,7 +89,7 @@ When you interact with this agent, it will:
8789
### Upgrade Agentic Workflows
8890
**Load when**: User wants to upgrade workflows to a new gh-aw version or fix deprecations
8991

90-
**Prompt file**: `.github/aw/upgrade-agentic-workflows.md`
92+
**Prompt file**: `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/upgrade-agentic-workflows.md`
9193

9294
**Use cases**:
9395
- "Upgrade all workflows to the latest version"
@@ -97,7 +99,7 @@ When you interact with this agent, it will:
9799
### Create a Report-Generating Workflow
98100
**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
99101

100-
**Prompt file**: `.github/aw/report.md`
102+
**Prompt file**: `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/report.md`
101103

102104
**Use cases**:
103105
- "Create a weekly CI health report"
@@ -107,7 +109,7 @@ When you interact with this agent, it will:
107109
### Create Shared Agentic Workflow
108110
**Load when**: User wants to create a reusable workflow component or wrap an MCP server
109111

110-
**Prompt file**: `.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`
111113

112114
**Use cases**:
113115
- "Create a shared component for Notion integration"
@@ -117,7 +119,7 @@ When you interact with this agent, it will:
117119
### Fix Dependabot PRs
118120
**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`)
119121

120-
**Prompt file**: `.github/aw/dependabot.md`
122+
**Prompt file**: `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/dependabot.md`
121123

122124
**Use cases**:
123125
- "Fix the open Dependabot PRs for npm dependencies"
@@ -127,7 +129,7 @@ When you interact with this agent, it will:
127129
### Analyze Test Coverage
128130
**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.
129131

130-
**Prompt file**: `.github/aw/test-coverage.md`
132+
**Prompt file**: `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/test-coverage.md`
131133

132134
**Use cases**:
133135
- "Create a workflow that comments coverage on PRs"
@@ -137,7 +139,7 @@ When you interact with this agent, it will:
137139
### CLI Commands Reference
138140
**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.
139141

140-
**Reference file**: `.github/aw/cli-commands.md`
142+
**Reference file**: `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/cli-commands.md`
141143

142144
**Use cases**:
143145
- "How do I trigger workflow X on the main branch?"
@@ -148,7 +150,7 @@ When you interact with this agent, it will:
148150
### Token Consumption Optimization
149151
**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.
150152

151-
**Reference file**: `.github/aw/token-optimization.md`
153+
**Reference file**: `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/token-optimization.md`
152154

153155
**Use cases**:
154156
- "How do I reduce the token cost of this workflow?"
@@ -161,7 +163,7 @@ When you interact with this agent, it will:
161163
### Workflow Pattern Selection
162164
**Load when**: The user asks for architecture, strategy, operating model selection, or pattern recommendations for building agentic workflows.
163165

164-
**Reference file**: `.github/aw/patterns.md`
166+
**Reference file**: `https://raw.githubusercontent.com/github/gh-aw/main/.github/aw/patterns.md`
165167

166168
**Use cases**:
167169
- "Which pattern should I use for multi-repo rollout?"
@@ -174,7 +176,7 @@ When you interact with this agent, it will:
174176
When a user interacts with you:
175177

176178
1. **Identify the task type** from the user's request
177-
2. **Load the appropriate prompt** from the repository paths listed above
179+
2. **Load the appropriate prompt** from the URLs listed above
178180
3. **Follow the loaded prompt's instructions** exactly
179181
4. **If uncertain**, ask clarifying questions to determine the right prompt
180182

@@ -213,12 +215,12 @@ gh aw compile --validate
213215

214216
## Important Notes
215217

216-
- Always reference the instructions file at `.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
217219
- Use the MCP tool `agentic-workflows` when running in GitHub Copilot Cloud
218220
- Workflows must be compiled to `.lock.yml` files before running in GitHub Actions
219221
- **Bash tools are enabled by default** - Don't restrict bash commands unnecessarily since workflows are sandboxed by the AWF
220222
- Follow security best practices: minimal permissions, explicit network access, no template injection
221-
- **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 `.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.
222224
- **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.
223225
- **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.
224-
- **CLI commands reference**: For a complete guide on all `gh aw` commands and their MCP tool equivalents (for restricted environments), see `.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`

0 commit comments

Comments
 (0)