Skip to content

Commit fba3760

Browse files
authored
Upgrade agentic workflows from v0.46.5 to v0.48.4 (#191)
1 parent 708d7fe commit fba3760

7 files changed

Lines changed: 116 additions & 101 deletions

.github/agents/agentic-workflows.agent.md

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ This is a **dispatcher agent** that routes your request to the appropriate speci
1616
- **Debugging workflows**: Routes to `debug` prompt
1717
- **Upgrading workflows**: Routes to `upgrade-agentic-workflows` prompt
1818
- **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
1920

2021
Workflows may optionally include:
2122

@@ -27,7 +28,7 @@ Workflows may optionally include:
2728
- Workflow files: `.github/workflows/*.md` and `.github/workflows/**/*.md`
2829
- Workflow lock files: `.github/workflows/*.lock.yml`
2930
- Shared components: `.github/workflows/shared/*.md`
30-
- Configuration: https://github.com/github/gh-aw/blob/v0.46.5/.github/aw/github-agentic-workflows.md
31+
- Configuration: https://github.com/github/gh-aw/blob/v0.48.4/.github/aw/github-agentic-workflows.md
3132

3233
## Problems This Solves
3334

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

52-
**Prompt file**: https://github.com/github/gh-aw/blob/v0.46.5/.github/aw/create-agentic-workflow.md
53+
**Prompt file**: https://github.com/github/gh-aw/blob/v0.48.4/.github/aw/create-agentic-workflow.md
5354

5455
**Use cases**:
5556
- "Create a workflow that triages issues"
@@ -59,7 +60,7 @@ When you interact with this agent, it will:
5960
### Update Existing Workflow
6061
**Load when**: User wants to modify, improve, or refactor an existing workflow
6162

62-
**Prompt file**: https://github.com/github/gh-aw/blob/v0.46.5/.github/aw/update-agentic-workflow.md
63+
**Prompt file**: https://github.com/github/gh-aw/blob/v0.48.4/.github/aw/update-agentic-workflow.md
6364

6465
**Use cases**:
6566
- "Add web-fetch tool to the issue-classifier workflow"
@@ -69,7 +70,7 @@ When you interact with this agent, it will:
6970
### Debug Workflow
7071
**Load when**: User needs to investigate, audit, debug, or understand a workflow, troubleshoot issues, analyze logs, or fix errors
7172

72-
**Prompt file**: https://github.com/github/gh-aw/blob/v0.46.5/.github/aw/debug-agentic-workflow.md
73+
**Prompt file**: https://github.com/github/gh-aw/blob/v0.48.4/.github/aw/debug-agentic-workflow.md
7374

7475
**Use cases**:
7576
- "Why is this workflow failing?"
@@ -79,7 +80,7 @@ When you interact with this agent, it will:
7980
### Upgrade Agentic Workflows
8081
**Load when**: User wants to upgrade workflows to a new gh-aw version or fix deprecations
8182

82-
**Prompt file**: https://github.com/github/gh-aw/blob/v0.46.5/.github/aw/upgrade-agentic-workflows.md
83+
**Prompt file**: https://github.com/github/gh-aw/blob/v0.48.4/.github/aw/upgrade-agentic-workflows.md
8384

8485
**Use cases**:
8586
- "Upgrade all workflows to the latest version"
@@ -89,13 +90,23 @@ When you interact with this agent, it will:
8990
### Create Shared Agentic Workflow
9091
**Load when**: User wants to create a reusable workflow component or wrap an MCP server
9192

92-
**Prompt file**: https://github.com/github/gh-aw/blob/v0.46.5/.github/aw/create-shared-agentic-workflow.md
93+
**Prompt file**: https://github.com/github/gh-aw/blob/v0.48.4/.github/aw/create-shared-agentic-workflow.md
9394

9495
**Use cases**:
9596
- "Create a shared component for Notion integration"
9697
- "Wrap the Slack MCP server as a reusable component"
9798
- "Design a shared workflow for database queries"
9899

100+
### Fix Dependabot PRs
101+
**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`)
102+
103+
**Prompt file**: https://github.com/github/gh-aw/blob/v0.48.4/.github/aw/dependabot.md
104+
105+
**Use cases**:
106+
- "Fix the open Dependabot PRs for npm dependencies"
107+
- "Bundle and close the Dependabot PRs for workflow dependencies"
108+
- "Update @playwright/test to fix the Dependabot PR"
109+
99110
## Instructions
100111

101112
When a user interacts with you:
@@ -136,8 +147,9 @@ gh aw compile --validate
136147

137148
## Important Notes
138149

139-
- Always reference the instructions file at https://github.com/github/gh-aw/blob/v0.46.5/.github/aw/github-agentic-workflows.md for complete documentation
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
140151
- Use the MCP tool `agentic-workflows` when running in GitHub Copilot Cloud
141152
- Workflows must be compiled to `.lock.yml` files before running in GitHub Actions
142153
- **Bash tools are enabled by default** - Don't restrict bash commands unnecessarily since workflows are sandboxed by the AWF
143154
- Follow security best practices: minimal permissions, explicit network access, no template injection
155+
- **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.

.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.46.5
16+
uses: github/gh-aw/actions/setup-cli@v0.48.4
1717
with:
18-
version: v0.46.5
18+
version: v0.48.4

.github/workflows/daily-repo-goals.lock.yml

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

0 commit comments

Comments
 (0)