diff --git a/.github/aw/upgrade-agentic-workflows.md b/.github/aw/upgrade-agentic-workflows.md index 83cee26eba..b05cb67671 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/agent-factory-status.mdx b/docs/src/content/docs/agent-factory-status.mdx index 26fe992a27..b6ec8b375b 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` | diff --git a/docs/src/content/docs/setup/quick-start.md b/docs/src/content/docs/setup/quick-start.md index f231dd9b6e..dc724c19cf 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 83cee26eba..b05cb67671 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