Skip to content

docs: update APM to use shared/apm.md imported workflow#23877

Merged
pelikhan merged 1 commit intomainfrom
copilot/update-docs-apm-imported-workflow
Apr 1, 2026
Merged

docs: update APM to use shared/apm.md imported workflow#23877
pelikhan merged 1 commit intomainfrom
copilot/update-docs-apm-imported-workflow

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 1, 2026

The dependencies: frontmatter field for APM is deprecated and no longer supported. APM is now configured by importing the shared/apm.md agentic workflow.

Changes

  • reference/dependencies.md — Rewrote around the new import-based approach; adds deprecation notice for dependencies:, removes old format sections (simple array, object, GitHub App object), preserves package reference formats and governance content
  • reference/frontmatter.md — Updated APM section heading and examples to reflect the import syntax; adds deprecation NOTE alert for dependencies:

New usage

imports:
  - uses: shared/apm.md
    with:
      packages:
        - microsoft/apm-sample-package
        - github/awesome-copilot/skills/review-and-refactor

@pelikhan pelikhan marked this pull request as ready for review April 1, 2026 12:10
Copilot AI review requested due to automatic review settings April 1, 2026 12:10
@pelikhan pelikhan merged commit 04e4b51 into main Apr 1, 2026
30 checks passed
@pelikhan pelikhan deleted the copilot/update-docs-apm-imported-workflow branch April 1, 2026 12:10
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

Updates the documentation to reflect that APM is now configured via importing shared/apm.md, and that the legacy dependencies: frontmatter field is deprecated/unsupported.

Changes:

  • Updates the frontmatter reference to show APM configuration via imports: - uses: shared/apm.md and adds a deprecation note for dependencies:.
  • Rewrites the APM Dependencies reference page around the import-based workflow, keeping package reference formats and governance/reproducibility guidance.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
docs/src/content/docs/reference/frontmatter.md Updates APM section to document the shared/apm.md import approach and adds a deprecation note for dependencies:.
docs/src/content/docs/reference/dependencies.md Reorients APM dependencies documentation around the shared/apm.md imported workflow and updates examples accordingly.
Comments suppressed due to low confidence (1)

docs/src/content/docs/reference/frontmatter.md:143

  • The NOTE says dependencies: is "deprecated and no longer supported", which is internally inconsistent (deprecated typically implies still supported). Consider rewording to either "deprecated (still supported until <date/version>)" or "removed/no longer supported" to avoid confusing readers about current behavior.
> [!NOTE]
> The `dependencies:` frontmatter field is deprecated and no longer supported. Migrate to the `imports: - uses: shared/apm.md` approach shown above.

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

- microsoft/apm-sample-package
- github/awesome-copilot/skills/review-and-refactor
- microsoft/apm-sample-package#v2.0 # version-pinned
```aw wrap
Copy link

Copilot AI Apr 1, 2026

Choose a reason for hiding this comment

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

The code fence for this snippet uses aw, but this section is documenting a frontmatter field and the surrounding examples in this file use yaml fences. Consider switching this to a yaml wrap code fence for consistent syntax highlighting on the frontmatter reference page.

This issue also appears on line 142 of the same file.

Suggested change
```aw wrap
```yaml wrap

Copilot uses AI. Check for mistakes.

APM lock files (`apm.lock`) pin every package to an exact commit SHA, so the same versions are installed on every run. Lock file diffs appear in pull requests and are reviewable before merge, giving teams and enterprises a clear audit trail and the ability to govern which agent context is in use. See the [APM governance guide](https://microsoft.github.io/apm/enterprise/governance/) for details on policy enforcement and access controls.
> [!NOTE]
> The `dependencies:` frontmatter field is deprecated and no longer supported. Migrate to the import-based approach shown below.
Copy link

Copilot AI Apr 1, 2026

Choose a reason for hiding this comment

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

The NOTE says dependencies: is "deprecated and no longer supported", which is internally inconsistent (deprecated typically implies still supported). Consider rewording to either "deprecated (still supported until <date/version>)" or "removed/no longer supported" to avoid confusing readers about current behavior.

Suggested change
> The `dependencies:` frontmatter field is deprecated and no longer supported. Migrate to the import-based approach shown below.
> The `dependencies:` frontmatter field has been removed and is no longer supported. Migrate to the import-based approach shown below.

Copilot uses AI. Check for mistakes.
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