Skip to content

Sync eng/common directory with azure-sdk-tools for PR 14400#9712

Merged
azure-sdk merged 9 commits intomainfrom
sync-eng/common-copilot/allow-relative-path-links-again-14400
Mar 10, 2026
Merged

Sync eng/common directory with azure-sdk-tools for PR 14400#9712
azure-sdk merged 9 commits intomainfrom
sync-eng/common-copilot/allow-relative-path-links-again-14400

Conversation

@azure-sdk
Copy link
Collaborator

Sync eng/common directory with azure-sdk-tools for PR Azure/azure-sdk-tools#14400 See eng/common workflow

@azure-sdk azure-sdk requested a review from a team as a code owner March 10, 2026 17:47
Copilot AI review requested due to automatic review settings March 10, 2026 17:47
@azure-sdk azure-sdk added EngSys This issue is impacting the engineering system. Central-EngSys This issue is owned by the Engineering System team. labels Mar 10, 2026
Copy link
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

This PR syncs the eng/common directory with azure-sdk-tools PR #14400, introducing a configurable allow-list mechanism for relative links in the link verification script. Previously, relative links were only special-cased for files matching instructions.md$; now a pattern file (allow-relative-links.txt) drives which files are permitted to use relative links.

Changes:

  • Added allow-relative-links.txt with glob patterns (.github/**, eng/**) for files that may use relative links.
  • Updated Verify-Links.ps1 to load patterns from the allow-list file, match page URIs against them, and skip the relative-link warning for matching pages while still verifying link correctness.
  • Updated the pipeline template to pass the new allowRelativeLinksFile parameter to the script.

Reviewed changes

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

File Description
eng/common/scripts/allow-relative-links.txt New file defining glob patterns for pages allowed to use relative links.
eng/common/scripts/Verify-Links.ps1 Adds the allowRelativeLinksFile parameter, pattern-loading logic, a matching function, and integrates the per-page flag into link resolution and checking.
eng/common/pipelines/templates/steps/verify-links.yml Adds AllowRelativeLinksFile pipeline parameter and passes it to the script invocation.

Copilot AI and others added 9 commits March 10, 2026 19:29
…sFile parameter

Co-authored-by: weshaggard <9010698+weshaggard@users.noreply.github.com>
…idance checks active

Co-authored-by: weshaggard <9010698+weshaggard@users.noreply.github.com>
…-links.txt

Co-authored-by: weshaggard <9010698+weshaggard@users.noreply.github.com>
…ll repos

Co-authored-by: weshaggard <9010698+weshaggard@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…, remove eng/**

Co-authored-by: weshaggard <9010698+weshaggard@users.noreply.github.com>
Co-authored-by: weshaggard <9010698+weshaggard@users.noreply.github.com>
@azure-sdk azure-sdk force-pushed the sync-eng/common-copilot/allow-relative-path-links-again-14400 branch from 3b679d8 to e08e216 Compare March 10, 2026 19:29
@azure-sdk azure-sdk merged commit 2d4ed95 into main Mar 10, 2026
3 checks passed
@azure-sdk azure-sdk deleted the sync-eng/common-copilot/allow-relative-path-links-again-14400 branch March 10, 2026 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Central-EngSys This issue is owned by the Engineering System team. EngSys This issue is impacting the engineering system.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants