Skip to content

Remove shared/apm.md; point to microsoft/apm canonical source#34068

Merged
pelikhan merged 2 commits into
mainfrom
copilot/remove-shared-apm-md
May 22, 2026
Merged

Remove shared/apm.md; point to microsoft/apm canonical source#34068
pelikhan merged 2 commits into
mainfrom
copilot/remove-shared-apm-md

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 22, 2026

shared/apm.md in this repo was a vendored copy with redirect: frontmatter pointing to microsoft/apm. It no longer needs to live here.

Changes

  • Deleted .github/workflows/shared/apm.md
  • pkg/cli/add_integration_test.goTestAddRemoteWorkflowRedirect updated to fetch microsoft/apm/.github/workflows/shared/apm.md@main directly; removed redirect-resolution assertions that relied on the deleted file
  • docs/src/content/docs/reference/dependencies.md — removed the note that gh-aw's copy would auto-redirect on gh aw update; gh aw add microsoft/apm/.github/workflows/shared/apm.md --dir shared remains the canonical install path

Copilot AI and others added 2 commits May 22, 2026 16:31
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title Remove shared/apm.md and point to microsoft/apm Remove shared/apm.md; point to microsoft/apm canonical source May 22, 2026
Copilot AI requested a review from pelikhan May 22, 2026 16:32
@pelikhan pelikhan marked this pull request as ready for review May 22, 2026 16:45
Copilot AI review requested due to automatic review settings May 22, 2026 16:45
@pelikhan pelikhan merged commit 4fcc9e8 into main May 22, 2026
1 check passed
@pelikhan pelikhan deleted the copilot/remove-shared-apm-md branch May 22, 2026 16:45
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes the vendored shared/apm.md workflow from this repo and updates references to treat microsoft/apm as the canonical source, including adjustments to tests and documentation.

Changes:

  • Deleted .github/workflows/shared/apm.md (previously a redirect stub to microsoft/apm).
  • Updated the add integration test to fetch microsoft/apm/.github/workflows/shared/apm.md@main directly and simplified assertions accordingly.
  • Updated APM dependency docs, plus regenerated/updated some workflow lockfiles and action pins.
Show a summary per file
File Description
pkg/cli/add_integration_test.go Updates remote add integration test to fetch APM workflow from microsoft/apm directly.
docs/src/content/docs/reference/dependencies.md Removes redirect-specific guidance; keeps canonical install path and update guidance.
.github/workflows/shared/apm.md Deletes the previously vendored redirect-stub workflow.
.github/workflows/release.lock.yml Updates pinned docker/setup-buildx-action reference (lockfile regeneration).
.github/workflows/developer-docs-consolidator.lock.yml Updates schedule cadence to weekly (lockfile regeneration).
.github/aw/actions-lock.json Adds a new pin entry for docker/setup-buildx-action@v4.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 6/6 changed files
  • Comments generated: 4

Comment on lines +933 to 935
// TestAddRemoteWorkflowRedirect verifies that gh aw add fetches the canonical
// APM shared workflow from microsoft/apm and writes correct source metadata.
func TestAddRemoteWorkflowRedirect(t *testing.T) {
```

Running `gh aw update` will keep your vendored copy in sync with the canonical source. The `shared/apm.md` file declares a `redirect` to the `microsoft/apm` library, so any copy sourced from gh-aw will automatically follow the redirect and rewrite its `source` field to track the canonical location on the next `gh aw update` run.
Running `gh aw update` will keep your vendored copy in sync with the canonical source.
@@ -1,5 +1,5 @@
# gh-aw-metadata: {"schema_version":"v3","frontmatter_hash":"6a6bd39e2339b2b176862a0fceb3dc70c2440fe79b8689f4e476134a57bed33a","strict":true,"agent_id":"copilot"}
# gh-aw-manifest: {"version":1,"secrets":["COPILOT_GITHUB_TOKEN","GH_AW_GITHUB_MCP_SERVER_TOKEN","GH_AW_GITHUB_TOKEN","GH_AW_OTEL_GRAFANA_AUTHORIZATION","GH_AW_OTEL_GRAFANA_ENDPOINT","GH_AW_OTEL_SENTRY_AUTHORIZATION","GH_AW_OTEL_SENTRY_ENDPOINT","GITHUB_TOKEN"],"actions":[{"repo":"actions/checkout","sha":"de0fac2e4500dabe0009e67214ff5f5447ce83dd","version":"v6.0.2"},{"repo":"actions/download-artifact","sha":"3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c","version":"v8.0.1"},{"repo":"actions/github-script","sha":"3a2844b7e9c422d3c10d287c895573f7108da1b3","version":"v9.0.0"},{"repo":"actions/setup-go","sha":"4a3601121dd01d1626a1e23e37211e3254c1c06c","version":"v6.4.0"},{"repo":"actions/upload-artifact","sha":"043fb46d1a93c77aae656e7c1c64a875d1fc6a0a","version":"v7.0.1"},{"repo":"anchore/sbom-action","sha":"e22c389904149dbc22b58101806040fa8d37a610","version":"v0.24.0"},{"repo":"docker/build-push-action","sha":"bcafcacb16a39f128d818304e6c9c0c18556b85f","version":"v7.1.0"},{"repo":"docker/login-action","sha":"4907a6ddec9925e35a0a9e82d7399ccc52663121","version":"v4.1.0"},{"repo":"docker/metadata-action","sha":"80c7e94dd9b9319bd5eb7a0e0fe9291e23a2a2e9","version":"v6"},{"repo":"docker/setup-buildx-action","sha":"4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd","version":"v4.0.0 (source v4)"}],"containers":[{"image":"ghcr.io/github/gh-aw-firewall/agent:0.25.51"},{"image":"ghcr.io/github/gh-aw-firewall/api-proxy:0.25.51"},{"image":"ghcr.io/github/gh-aw-firewall/squid:0.25.51"},{"image":"ghcr.io/github/gh-aw-mcpg:v0.3.17"},{"image":"ghcr.io/github/github-mcp-server:v1.0.4"},{"image":"node:lts-alpine","digest":"sha256:d1b3b4da11eefd5941e7f0b9cf17783fc99d9c6fc34884a665f40a06dbdfc94f","pinned_image":"node:lts-alpine@sha256:d1b3b4da11eefd5941e7f0b9cf17783fc99d9c6fc34884a665f40a06dbdfc94f"}]}
# gh-aw-manifest: {"version":1,"secrets":["COPILOT_GITHUB_TOKEN","GH_AW_GITHUB_MCP_SERVER_TOKEN","GH_AW_GITHUB_TOKEN","GH_AW_OTEL_GRAFANA_AUTHORIZATION","GH_AW_OTEL_GRAFANA_ENDPOINT","GH_AW_OTEL_SENTRY_AUTHORIZATION","GH_AW_OTEL_SENTRY_ENDPOINT","GITHUB_TOKEN"],"actions":[{"repo":"actions/checkout","sha":"de0fac2e4500dabe0009e67214ff5f5447ce83dd","version":"v6.0.2"},{"repo":"actions/download-artifact","sha":"3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c","version":"v8.0.1"},{"repo":"actions/github-script","sha":"3a2844b7e9c422d3c10d287c895573f7108da1b3","version":"v9.0.0"},{"repo":"actions/setup-go","sha":"4a3601121dd01d1626a1e23e37211e3254c1c06c","version":"v6.4.0"},{"repo":"actions/upload-artifact","sha":"043fb46d1a93c77aae656e7c1c64a875d1fc6a0a","version":"v7.0.1"},{"repo":"anchore/sbom-action","sha":"e22c389904149dbc22b58101806040fa8d37a610","version":"v0.24.0"},{"repo":"docker/build-push-action","sha":"bcafcacb16a39f128d818304e6c9c0c18556b85f","version":"v7.1.0"},{"repo":"docker/login-action","sha":"4907a6ddec9925e35a0a9e82d7399ccc52663121","version":"v4.1.0"},{"repo":"docker/metadata-action","sha":"80c7e94dd9b9319bd5eb7a0e0fe9291e23a2a2e9","version":"v6"},{"repo":"docker/setup-buildx-action","sha":"d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5","version":"v4"}],"containers":[{"image":"ghcr.io/github/gh-aw-firewall/agent:0.25.51"},{"image":"ghcr.io/github/gh-aw-firewall/api-proxy:0.25.51"},{"image":"ghcr.io/github/gh-aw-firewall/squid:0.25.51"},{"image":"ghcr.io/github/gh-aw-mcpg:v0.3.17"},{"image":"ghcr.io/github/github-mcp-server:v1.0.4"},{"image":"node:lts-alpine","digest":"sha256:d1b3b4da11eefd5941e7f0b9cf17783fc99d9c6fc34884a665f40a06dbdfc94f","pinned_image":"node:lts-alpine@sha256:d1b3b4da11eefd5941e7f0b9cf17783fc99d9c6fc34884a665f40a06dbdfc94f"}]}
Comment on lines 69 to +71
schedule:
- cron: "19 13 * * *"
# Friendly format: daily (scattered)
- cron: "19 13 * * 6"
# Friendly format: weekly (scattered)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants