From 3f8265df7ccb168d47dce1bec0d4e2dce63a183d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 5 May 2026 06:23:32 +0000 Subject: [PATCH 1/2] chore: remove shared/mcp/gh-aw.md and use tools.agentic-workflows instead Agent-Logs-Url: https://github.com/githubnext/agentic-ops/sessions/f67e81b8-f533-4e27-bf25-e46c5c033a59 Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- workflows/copilot-token-audit.md | 1 - workflows/shared/mcp/gh-aw.md | 40 -------------------------------- 2 files changed, 41 deletions(-) delete mode 100644 workflows/shared/mcp/gh-aw.md diff --git a/workflows/copilot-token-audit.md b/workflows/copilot-token-audit.md index efa30e7..8276fd7 100644 --- a/workflows/copilot-token-audit.md +++ b/workflows/copilot-token-audit.md @@ -57,7 +57,6 @@ imports: description: "Historical daily Copilot token usage snapshots" max-patch-size: 51200 - copilot-setup-steps.yml - - uses: shared/mcp/gh-aw.md - shared/python-dataviz.md features: copilot-requests: true diff --git a/workflows/shared/mcp/gh-aw.md b/workflows/shared/mcp/gh-aw.md deleted file mode 100644 index 995d496..0000000 --- a/workflows/shared/mcp/gh-aw.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -# gh-aw Extension - Shared Component -# Installs the gh-aw CLI extension and copies the binary -# for MCP server containerization. -# -# This component replaces the compiler-generated "Install gh-aw extension" -# step with a robust installation that handles pre-installed binaries -# (e.g., from copilot-setup-steps.yml curl-based installs). -# -# Usage: -# imports: -# - uses: shared/mcp/gh-aw.md - -steps: - - name: Install gh-aw extension - env: - GH_TOKEN: ${{ secrets.GH_AW_GITHUB_MCP_SERVER_TOKEN || secrets.GH_AW_GITHUB_TOKEN || secrets.GITHUB_TOKEN }} - run: | - # Install gh-aw if not already available - if ! gh aw --version >/dev/null 2>&1; then - echo "Installing gh-aw extension..." - curl -fsSL https://raw.githubusercontent.com/github/gh-aw/refs/heads/main/install-gh-aw.sh | bash - fi - gh aw --version - # Copy the gh-aw binary to ${RUNNER_TEMP}/gh-aw for MCP server containerization - mkdir -p "${RUNNER_TEMP}/gh-aw" - GH_AW_BIN="" - GH_AW_BIN=$(command -v gh-aw 2>/dev/null) || true - if [ -z "$GH_AW_BIN" ]; then - GH_AW_BIN=$(find "${HOME}/.local/share/gh/extensions/gh-aw" -name 'gh-aw' -type f 2>/dev/null | head -1) || true - fi - if [ -n "$GH_AW_BIN" ] && [ -f "$GH_AW_BIN" ]; then - cp "$GH_AW_BIN" "${RUNNER_TEMP}/gh-aw/gh-aw" - chmod +x "${RUNNER_TEMP}/gh-aw/gh-aw" - echo "Copied gh-aw binary to ${RUNNER_TEMP}/gh-aw/gh-aw" - else - echo "::error::Failed to find gh-aw binary for MCP server" - exit 1 - fi ---- From 9888183d25f20dea48d2f79c4b27f858f93e1c2a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 5 May 2026 06:28:59 +0000 Subject: [PATCH 2/2] chore: remove features.copilot-requests from copilot-token-audit front matter Agent-Logs-Url: https://github.com/githubnext/agentic-ops/sessions/1aff0392-d57b-4191-8fdb-2d7163023a29 Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- workflows/copilot-token-audit.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/workflows/copilot-token-audit.md b/workflows/copilot-token-audit.md index 8276fd7..d700cb4 100644 --- a/workflows/copilot-token-audit.md +++ b/workflows/copilot-token-audit.md @@ -58,8 +58,6 @@ imports: max-patch-size: 51200 - copilot-setup-steps.yml - shared/python-dataviz.md -features: - copilot-requests: true source: github/gh-aw/copilot-token-audit.md@8b0bb39a2360d10d3d60f2588d76179cacb4e642 ---