[release/v7.6] Add markdown link verification for PRs#26445
Merged
TravisEz13 merged 2 commits intoPowerShell:release/v7.6from Nov 13, 2025
Merged
Conversation
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: xtqqczze <45661989+xtqqczze@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR backports markdown link verification infrastructure from the main branch to the release/v7.6 branch. It adds a comprehensive GitHub Actions workflow and composite action to automatically verify all links in markdown files, helping maintain documentation quality by catching broken links before they are merged.
Key Changes:
- New workflow to verify markdown links on PRs, pushes, and scheduled runs
- Custom GitHub composite action using PowerShell and Markdig for link parsing and verification
- PowerShell parameter naming conventions instruction file for GitHub Copilot
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/verify-markdown-links.yml |
Workflow definition that triggers link verification on markdown file changes |
.github/actions/infrastructure/markdownlinks/action.yml |
Composite action that orchestrates link verification and outputs metrics |
.github/actions/infrastructure/markdownlinks/Verify-MarkdownLinks.ps1 |
Core PowerShell script that verifies HTTP/HTTPS and local file links |
.github/actions/infrastructure/markdownlinks/Parse-MarkdownLink.ps1 |
PowerShell script that parses markdown files using Markdig to extract links |
.github/actions/infrastructure/markdownlinks/README.md |
Documentation for the markdown link verification action |
.github/instructions/powershell-parameter-naming.instructions.md |
GitHub Copilot instruction file for PowerShell parameter naming conventions |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
adityapatwardhan
approved these changes
Nov 13, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #26219 to release/v7.6
Triggered by @TravisEz13 on behalf of @TravisEz13
Original CL Label: CL-Test
/cc @PowerShell/powershell-maintainers
Impact
REQUIRED: Choose either Tooling Impact or Customer Impact (or both). At least one checkbox must be selected.
Tooling Impact
Adds markdown link verification to PR workflows on release/v7.6 branch. This ensures documentation quality and catches broken links before they are merged. Critical for maintaining documentation integrity on the release branch.
Customer Impact
Regression
REQUIRED: Check exactly one box.
This is not a regression.
Testing
Original PR added comprehensive testing via the new markdown link verification action. Backport verified by checking that all new files are present and the workflow is correctly integrated into the release branch CI/CD pipeline.
Risk
REQUIRED: Check exactly one box.
Low risk as this adds new CI/CD infrastructure (GitHub Actions) without modifying existing code. The action only runs on markdown files and provides additional verification. No changes to runtime code, cmdlets, or PowerShell functionality.