[release/v7.5] Add markdown link verification for PRs #278
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.
PR Summary
Backport of PowerShell#26219 adding automated markdown link verification infrastructure to release/v7.5.
Triggered by @TravisEz13 on behalf of @TravisEz13
Original CL Label: CL-General
/cc @PowerShell/powershell-maintainers
PR Context
Adds GitHub Actions workflow and PowerShell scripts to automatically verify markdown links in PRs, catching broken links before merge. Includes parameter naming convention instructions.
Changes:
.github/actions/infrastructure/markdownlinks/action with PowerShell-based link parser and verifierBackport Details:
Agent Improvement Prompt:
The backport process revealed areas for enhancement in
.github/agents/backport-agent.md:git reset --hardwhich causes divergence when branch exists on origin, preventing push. Need pre-flight check and alternative approach..github/instructions/backports/. Create these or update agent to reference actual.github/prompts/backport-pr-to-release-branch.prompt.md.copilot/backport-powershell-26219lacks explicit version indicator. Enforce pattern likecopilot/backport-pr-{PR#}-to-v{VERSION}.ghCLI access. Need git-based or API alternatives.Suggested task: "Update backport agent to prevent branch divergence, standardize naming conventions with version indicators, create missing instruction files, and add CL label detection methods without GitHub CLI dependency."
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerOriginal prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.