PR bot should validate all links
Open
infrastructure
- Dominant language
- C#
- Stars
- 5.4k
- Forks
- 415
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 81
Description
The PR bot should validate that all links are valid (i.e. not returning 404 or any other HTTP error code) and that MS Learn links don't have the locale ("en-US") in the URL.
I just submitted a [PR](https://github.com/dotnet/skills/pull/565) with both issues, and I only discovered this after a reviewer found the issue. This should be easy to automate to avoid such issues going forward.
cc @ManishJayaswal
Contributor guide
Research direction
Start by reviewing PR 565, then locate the PR bot's existing validation entry point and checks. Add validation for HTTP error responses and for MS Learn URLs containing the "en-US" locale; done means both cases are rejected automatically.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100