Skip to content

Commit e01daa0

Browse files
Copilotpelikhan
andcommitted
chore: upgrade agentic workflows from v0.48.4 to v0.50.4
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
1 parent b3fe68b commit e01daa0

File tree

7 files changed

+780
-733
lines changed

7 files changed

+780
-733
lines changed

.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.50.4/.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.50.4/.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.50.4/.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.50.4/.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.50.4/.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.50.4/.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.50.4/.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.50.4/.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.50.4/.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.50.4/.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/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.50.4
1717
with:
18-
version: v0.48.4
18+
version: v0.50.4

0 commit comments

Comments
 (0)