Skip to content

Commit 10f0876

Browse files
committed
update workflows
2 parents 652be31 + 9646d08 commit 10f0876

45 files changed

Lines changed: 3354 additions & 251 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.agent.md

Lines changed: 31 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ This is a **dispatcher agent** that routes your request to the appropriate speci
1515
- **Updating existing workflows**: Routes to `update` prompt
1616
- **Debugging workflows**: Routes to `debug` prompt
1717
- **Upgrading workflows**: Routes to `upgrade-agentic-workflows` prompt
18+
- **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
1819
- **Creating shared components**: Routes to `create-shared-agentic-workflow` prompt
19-
- **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
20+
- **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
21+
- **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
2022

2123
Workflows may optionally include:
2224

@@ -28,7 +30,7 @@ Workflows may optionally include:
2830
- Workflow files: `.github/workflows/*.md` and `.github/workflows/**/*.md`
2931
- Workflow lock files: `.github/workflows/*.lock.yml`
3032
- Shared components: `.github/workflows/shared/*.md`
31-
- Configuration: https://github.com/github/gh-aw/blob/v0.48.4/.github/aw/github-agentic-workflows.md
33+
- Configuration: https://github.com/github/gh-aw/blob/v0.51.0/.github/aw/github-agentic-workflows.md
3234

3335
## Problems This Solves
3436

@@ -50,7 +52,7 @@ When you interact with this agent, it will:
5052
### Create New Workflow
5153
**Load when**: User wants to create a new workflow from scratch, add automation, or design a workflow that doesn't exist yet
5254

53-
**Prompt file**: https://github.com/github/gh-aw/blob/v0.48.4/.github/aw/create-agentic-workflow.md
55+
**Prompt file**: https://github.com/github/gh-aw/blob/v0.51.0/.github/aw/create-agentic-workflow.md
5456

5557
**Use cases**:
5658
- "Create a workflow that triages issues"
@@ -60,7 +62,7 @@ When you interact with this agent, it will:
6062
### Update Existing Workflow
6163
**Load when**: User wants to modify, improve, or refactor an existing workflow
6264

63-
**Prompt file**: https://github.com/github/gh-aw/blob/v0.48.4/.github/aw/update-agentic-workflow.md
65+
**Prompt file**: https://github.com/github/gh-aw/blob/v0.51.0/.github/aw/update-agentic-workflow.md
6466

6567
**Use cases**:
6668
- "Add web-fetch tool to the issue-classifier workflow"
@@ -70,7 +72,7 @@ When you interact with this agent, it will:
7072
### Debug Workflow
7173
**Load when**: User needs to investigate, audit, debug, or understand a workflow, troubleshoot issues, analyze logs, or fix errors
7274

73-
**Prompt file**: https://github.com/github/gh-aw/blob/v0.48.4/.github/aw/debug-agentic-workflow.md
75+
**Prompt file**: https://github.com/github/gh-aw/blob/v0.51.0/.github/aw/debug-agentic-workflow.md
7476

7577
**Use cases**:
7678
- "Why is this workflow failing?"
@@ -80,17 +82,27 @@ When you interact with this agent, it will:
8082
### Upgrade Agentic Workflows
8183
**Load when**: User wants to upgrade workflows to a new gh-aw version or fix deprecations
8284

83-
**Prompt file**: https://github.com/github/gh-aw/blob/v0.48.4/.github/aw/upgrade-agentic-workflows.md
85+
**Prompt file**: https://github.com/github/gh-aw/blob/v0.51.0/.github/aw/upgrade-agentic-workflows.md
8486

8587
**Use cases**:
8688
- "Upgrade all workflows to the latest version"
8789
- "Fix deprecated fields in workflows"
8890
- "Apply breaking changes from the new release"
8991

92+
### Create a Report-Generating Workflow
93+
**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
94+
95+
**Prompt file**: https://github.com/github/gh-aw/blob/v0.51.0/.github/aw/report.md
96+
97+
**Use cases**:
98+
- "Create a weekly CI health report"
99+
- "Post a daily security audit to Discussions"
100+
- "Add a status update comment to open PRs"
101+
90102
### Create Shared Agentic Workflow
91103
**Load when**: User wants to create a reusable workflow component or wrap an MCP server
92104

93-
**Prompt file**: https://github.com/github/gh-aw/blob/v0.48.4/.github/aw/create-shared-agentic-workflow.md
105+
**Prompt file**: https://github.com/github/gh-aw/blob/v0.51.0/.github/aw/create-shared-agentic-workflow.md
94106

95107
**Use cases**:
96108
- "Create a shared component for Notion integration"
@@ -100,13 +112,23 @@ When you interact with this agent, it will:
100112
### Fix Dependabot PRs
101113
**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`)
102114

103-
**Prompt file**: https://github.com/github/gh-aw/blob/v0.48.4/.github/aw/dependabot.md
115+
**Prompt file**: https://github.com/github/gh-aw/blob/v0.51.0/.github/aw/dependabot.md
104116

105117
**Use cases**:
106118
- "Fix the open Dependabot PRs for npm dependencies"
107119
- "Bundle and close the Dependabot PRs for workflow dependencies"
108120
- "Update @playwright/test to fix the Dependabot PR"
109121

122+
### Analyze Test Coverage
123+
**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.
124+
125+
**Prompt file**: https://github.com/github/gh-aw/blob/v0.51.0/.github/aw/test-coverage.md
126+
127+
**Use cases**:
128+
- "Create a workflow that comments coverage on PRs"
129+
- "Analyze coverage trends over time"
130+
- "Add a coverage gate that blocks PRs below a threshold"
131+
110132
## Instructions
111133

112134
When a user interacts with you:
@@ -147,7 +169,7 @@ gh aw compile --validate
147169

148170
## Important Notes
149171

150-
- Always reference the instructions file at https://github.com/github/gh-aw/blob/v0.48.4/.github/aw/github-agentic-workflows.md for complete documentation
172+
- Always reference the instructions file at https://github.com/github/gh-aw/blob/v0.51.0/.github/aw/github-agentic-workflows.md for complete documentation
151173
- Use the MCP tool `agentic-workflows` when running in GitHub Copilot Cloud
152174
- Workflows must be compiled to `.lock.yml` files before running in GitHub Actions
153175
- **Bash tools are enabled by default** - Don't restrict bash commands unnecessarily since workflows are sandboxed by the AWF

.github/aw/actions-lock.json

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -5,61 +5,11 @@
55
"version": "v4",
66
"sha": "34e114876b0b11c390a56381ad16ebd13914f8d5"
77
},
8-
"actions/checkout@v5": {
9-
"repo": "actions/checkout",
10-
"version": "v5",
11-
"sha": "93cb6efe18208431cddfb8368fd83d5badbf9bfd"
12-
},
138
"actions/github-script@v8": {
149
"repo": "actions/github-script",
1510
"version": "v8",
1611
"sha": "ed597411d8f924073f98dfc5c65a23a2325f34cd"
1712
},
18-
"github/gh-aw/actions/setup@v0.43.13": {
19-
"repo": "github/gh-aw/actions/setup",
20-
"version": "v0.43.13",
21-
"sha": "9689964a57e642ad0264af3609dd030b03b5a1dc"
22-
},
23-
"github/gh-aw/actions/setup@v0.43.15": {
24-
"repo": "github/gh-aw/actions/setup",
25-
"version": "v0.43.15",
26-
"sha": "a0e753a02a1b3edc578b5c4c9d5d4eaf81ced5bd"
27-
},
28-
"github/gh-aw/actions/setup@v0.43.22": {
29-
"repo": "github/gh-aw/actions/setup",
30-
"version": "v0.43.22",
31-
"sha": "fe858c3e14589bf396594a0b106e634d9065823e"
32-
},
33-
"github/gh-aw/actions/setup@v0.45.5": {
34-
"repo": "github/gh-aw/actions/setup",
35-
"version": "v0.45.5",
36-
"sha": "852cb06ad52958b402ed982b69957ffc57ca0619"
37-
},
38-
"github/gh-aw/actions/setup@v0.47.2": {
39-
"repo": "github/gh-aw/actions/setup",
40-
"version": "v0.47.2",
41-
"sha": "faf2523ba6ae8aa862dc5c98e06d72e54a342d1f"
42-
},
43-
"github/gh-aw/actions/setup@v0.47.6": {
44-
"repo": "github/gh-aw/actions/setup",
45-
"version": "v0.47.6",
46-
"sha": "3b6ab5488e05abd34d6a599d61459477e45d5299"
47-
},
48-
"github/gh-aw/actions/setup@v0.48.1": {
49-
"repo": "github/gh-aw/actions/setup",
50-
"version": "v0.48.1",
51-
"sha": "26b6572ae210580303087bc3142fe58d140bf65c"
52-
},
53-
"github/gh-aw/actions/setup@v0.49.4": {
54-
"repo": "github/gh-aw/actions/setup",
55-
"version": "v0.49.4",
56-
"sha": "bf34f9947505c887fdc597a13b8ff277cccd9c20"
57-
},
58-
"github/gh-aw/actions/setup@v0.49.7": {
59-
"repo": "github/gh-aw/actions/setup",
60-
"version": "v0.49.7",
61-
"sha": "0ea0cf123dda697de607a0cd6e3315746680eb86"
62-
},
6313
"github/gh-aw/actions/setup@v0.52.1": {
6414
"repo": "github/gh-aw/actions/setup",
6515
"version": "v0.52.1",

.github/workflows/copilot-setup-steps.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ jobs:
1313
- name: Checkout repository
1414
uses: actions/checkout@v4
1515
- name: Install gh-aw extension
16-
uses: github/gh-aw/actions/setup-cli@v0.48.4
16+
uses: github/gh-aw/actions/setup-cli@v0.51.0
1717
with:
18-
version: v0.48.4
18+
version: v0.51.0

.github/workflows/daily-workflow-sync.lock.yml

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

.github/workflows/daily-workflow-sync.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
on:
3-
schedule:
4-
- cron: "0 13 * * 1-5" # Daily at 1 PM UTC, weekdays only
3+
schedule: daily on weekdays
54
workflow_dispatch:
65

76
permissions: read-all

0 commit comments

Comments
 (0)