Skip to content

fix(ci): ignore stackoverlow links in mdox validation#2764

Merged
simonpasquier merged 1 commit intoprometheus-operator:mainfrom
vprashar2929:fix-make-docs
Nov 5, 2025
Merged

fix(ci): ignore stackoverlow links in mdox validation#2764
simonpasquier merged 1 commit intoprometheus-operator:mainfrom
vprashar2929:fix-make-docs

Conversation

@vprashar2929
Copy link
Copy Markdown
Contributor

@vprashar2929 vprashar2929 commented Nov 5, 2025

Description

This commit addresses the issue where StackOverflow blocks automated requests with 403 Forbidden responses to prevent scraping, causing mdox link validator to fail.

Added a regex pattern to ignore stackoverflow links in the mdox validation config.

Ref: https://github.com/prometheus-operator/kube-prometheus/actions/runs/19064248789/job/54450840605

Type of change

What type of changes does your code introduce to the kube-prometheus? Put an x in the box that apply.

  • CHANGE (fix or feature that would cause existing functionality to not work as expected)
  • FEATURE (non-breaking change which adds functionality)
  • BUGFIX (non-breaking change which fixes an issue)
  • ENHANCEMENT (non-breaking change which improves existing functionality)
  • NONE (if none of the other choices apply. Example, tooling, build system, CI, docs, etc.)

Changelog entry

Please put a one-line changelog entry below. Later this will be copied to the changelog file.

Fix `make check-docs` command failing due to StackOverflow blocking automated link validation requests.

This commit addresses the issue where StackOverflow blocks automated
requests with 403 Forbidden responses to prevent scraping,
causing mdox link validator to fail.

Added a regex pattern to ignore stackoverflow links in the mdox
validation config.

Signed-off-by: vprashar2929 <vibhu.sharma2929@gmail.com>
@vprashar2929 vprashar2929 requested a review from a team as a code owner November 5, 2025 06:49
Copy link
Copy Markdown
Contributor

@simonpasquier simonpasquier left a comment

Choose a reason for hiding this comment

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

thanks!

@simonpasquier simonpasquier merged commit 614e626 into prometheus-operator:main Nov 5, 2025
11 checks passed
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.

2 participants