From 1149ae9e6dcaf4e14011d1d562e921da3b03715e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 22 Jan 2026 15:47:13 +0000 Subject: [PATCH 1/3] Initial plan From 0a31c5b365d8b739eb7acc34588bf5bec186d1fc Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 22 Jan 2026 15:52:29 +0000 Subject: [PATCH 2/3] docs: update Quick Start and upgrade guides to use --push flag Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- .github/aw/upgrade-agentic-workflows.md | 6 +++--- docs/src/content/docs/setup/quick-start.md | 12 ++---------- pkg/cli/templates/upgrade-agentic-workflows.md | 6 +++--- 3 files changed, 8 insertions(+), 16 deletions(-) diff --git a/.github/aw/upgrade-agentic-workflows.md b/.github/aw/upgrade-agentic-workflows.md index 83cee26ebae..b05cb67671e 100644 --- a/.github/aw/upgrade-agentic-workflows.md +++ b/.github/aw/upgrade-agentic-workflows.md @@ -143,7 +143,7 @@ After fixing all errors: 3. **Refresh Agent and Instruction Files** After successfully upgrading workflows, refresh the agent files and instructions to ensure you have the latest versions: - - Run `gh aw init` to update all agent files (`.github/agents/*.md`) and instruction files (`.github/aw/github-agentic-workflows.md`) + - Run `gh aw init --push` to update all agent files (`.github/agents/*.md`) and instruction files (`.github/aw/github-agentic-workflows.md`), then automatically commit and push the changes - This ensures that agents and instructions are aligned with the new gh-aw version - The command will preserve your existing configuration while updating to the latest templates @@ -190,12 +190,12 @@ Upgraded all agentic workflows to gh-aw version [VERSION]. - ✅ No compilation errors or warnings ### Post-Upgrade Steps -- ✅ Refreshed agent files and instructions with `gh aw init` +- ✅ Refreshed agent files and instructions with `gh aw init --push` ## Files Changed - Updated `.md` workflow files: [LIST] - Generated `.lock.yml` files: [LIST] -- Updated agent files: [LIST] (if `gh aw init` was run) +- Updated agent files: [LIST] (if `gh aw init --push` was run) ``` ### If Compilation Errors Cannot Be Fixed diff --git a/docs/src/content/docs/setup/quick-start.md b/docs/src/content/docs/setup/quick-start.md index f231dd9b6ed..dc724c19cf6 100644 --- a/docs/src/content/docs/setup/quick-start.md +++ b/docs/src/content/docs/setup/quick-start.md @@ -36,18 +36,10 @@ gh extension install githubnext/gh-aw Initialize your repository to configure custom agents and MCP server: ```bash wrap -gh aw init +gh aw init --push ``` -This command installs agents and tools for GitHub Copilot. - -Commit and push the changes in Git. - -```bash wrap -git add . -git commit -m "files added from 'gh aw init'" -git push -``` +This command installs agents and tools for GitHub Copilot and automatically commits and pushes the changes to your repository. ### Step 3 — Add a sample workflow diff --git a/pkg/cli/templates/upgrade-agentic-workflows.md b/pkg/cli/templates/upgrade-agentic-workflows.md index 83cee26ebae..b05cb67671e 100644 --- a/pkg/cli/templates/upgrade-agentic-workflows.md +++ b/pkg/cli/templates/upgrade-agentic-workflows.md @@ -143,7 +143,7 @@ After fixing all errors: 3. **Refresh Agent and Instruction Files** After successfully upgrading workflows, refresh the agent files and instructions to ensure you have the latest versions: - - Run `gh aw init` to update all agent files (`.github/agents/*.md`) and instruction files (`.github/aw/github-agentic-workflows.md`) + - Run `gh aw init --push` to update all agent files (`.github/agents/*.md`) and instruction files (`.github/aw/github-agentic-workflows.md`), then automatically commit and push the changes - This ensures that agents and instructions are aligned with the new gh-aw version - The command will preserve your existing configuration while updating to the latest templates @@ -190,12 +190,12 @@ Upgraded all agentic workflows to gh-aw version [VERSION]. - ✅ No compilation errors or warnings ### Post-Upgrade Steps -- ✅ Refreshed agent files and instructions with `gh aw init` +- ✅ Refreshed agent files and instructions with `gh aw init --push` ## Files Changed - Updated `.md` workflow files: [LIST] - Generated `.lock.yml` files: [LIST] -- Updated agent files: [LIST] (if `gh aw init` was run) +- Updated agent files: [LIST] (if `gh aw init --push` was run) ``` ### If Compilation Errors Cannot Be Fixed From 8db4524919ddc59d37d7fde9b9b155e868da45fa Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 22 Jan 2026 15:53:44 +0000 Subject: [PATCH 3/3] docs: complete documentation update for --push flag Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- docs/src/content/docs/agent-factory-status.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/src/content/docs/agent-factory-status.mdx b/docs/src/content/docs/agent-factory-status.mdx index 26fe992a271..b6ec8b375b2 100644 --- a/docs/src/content/docs/agent-factory-status.mdx +++ b/docs/src/content/docs/agent-factory-status.mdx @@ -112,6 +112,7 @@ These are experimental agentic workflows used by the GitHub Next team to learn, | [Safe Output Health Monitor](https://github.com/githubnext/gh-aw/blob/main/.github/workflows/safe-output-health.md) | claude | [![Safe Output Health Monitor](https://github.com/githubnext/gh-aw/actions/workflows/safe-output-health.lock.yml/badge.svg)](https://github.com/githubnext/gh-aw/actions/workflows/safe-output-health.lock.yml) | - | - | | [Schema Consistency Checker](https://github.com/githubnext/gh-aw/blob/main/.github/workflows/schema-consistency-checker.md) | claude | [![Schema Consistency Checker](https://github.com/githubnext/gh-aw/actions/workflows/schema-consistency-checker.lock.yml/badge.svg)](https://github.com/githubnext/gh-aw/actions/workflows/schema-consistency-checker.lock.yml) | - | - | | [Scout](https://github.com/githubnext/gh-aw/blob/main/.github/workflows/scout.md) | claude | [![Scout](https://github.com/githubnext/gh-aw/actions/workflows/scout.lock.yml/badge.svg)](https://github.com/githubnext/gh-aw/actions/workflows/scout.lock.yml) | - | `/scout` | +| [Security Alert Burndown](https://github.com/githubnext/gh-aw/blob/main/.github/workflows/security-alert-burndown.campaign.md) | copilot | [![Security Alert Burndown](https://github.com/githubnext/gh-aw/actions/workflows/security-alert-burndown.campaign.lock.yml/badge.svg)](https://github.com/githubnext/gh-aw/actions/workflows/security-alert-burndown.campaign.lock.yml) | - | - | | [Security Compliance Campaign](https://github.com/githubnext/gh-aw/blob/main/.github/workflows/security-compliance.md) | copilot | [![Security Compliance Campaign](https://github.com/githubnext/gh-aw/actions/workflows/security-compliance.lock.yml/badge.svg)](https://github.com/githubnext/gh-aw/actions/workflows/security-compliance.lock.yml) | - | - | | [Security Fix PR](https://github.com/githubnext/gh-aw/blob/main/.github/workflows/security-fix-pr.md) | copilot | [![Security Fix PR](https://github.com/githubnext/gh-aw/actions/workflows/security-fix-pr.lock.yml/badge.svg)](https://github.com/githubnext/gh-aw/actions/workflows/security-fix-pr.lock.yml) | - | - | | [Security Review Agent 🔒](https://github.com/githubnext/gh-aw/blob/main/.github/workflows/security-review.md) | copilot | [![Security Review Agent 🔒](https://github.com/githubnext/gh-aw/actions/workflows/security-review.lock.yml/badge.svg)](https://github.com/githubnext/gh-aw/actions/workflows/security-review.lock.yml) | - | `/security` |