Skip to content

Check only new links in pull requests - #2122

Open
Soumoditya wants to merge 1 commit into
pypa:mainfrom
Soumoditya:ci/check-new-links
Open

Check only new links in pull requests#2122
Soumoditya wants to merge 1 commit into
pypa:mainfrom
Soumoditya:ci/check-new-links

Conversation

@Soumoditya

@Soumoditya Soumoditya commented Aug 31, 2026

Copy link
Copy Markdown

Fixes #2037.\n\nRestore the latest successful default-branch linkcheck report for pull requests and add its URLs to Sphinx's ignore list. Linkcheck failures then block a pull request only when a baseline report was restored, so only newly added links can cause the failure. Scheduled and default-branch runs continue to check every link and refresh the baseline only after a successful run.\n\nValidation: python -m compileall -q source/conf.py; cached-report parsing verified with valid and malformed JSONL input; git diff --check.


📚 Documentation preview 📚: https://python-packaging-user-guide--2122.org.readthedocs.build/en/2122/

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.

Linkcheck for newly add links in PRs

1 participant