Skip to content

Check new links against linkcheck baseline#2056

Open
Herrtian wants to merge 1 commit into
pypa:mainfrom
Herrtian:linkcheck-new-links-only
Open

Check new links against linkcheck baseline#2056
Herrtian wants to merge 1 commit into
pypa:mainfrom
Herrtian:linkcheck-new-links-only

Conversation

@Herrtian
Copy link
Copy Markdown
Contributor

@Herrtian Herrtian commented May 20, 2026

Fixes #2037.

This caches the linkcheck JSON output from main branch runs and uses it as a baseline on pull requests, so known URLs can be ignored while newly added links still get checked.

Checks:

  • Parsed workflow YAML with PyYAML
  • Exercised the baseline loader with sample JSONL
  • uv run --with pre-commit pre-commit run --files .github/workflows/test.yml source/conf.py
  • uv run --with nox nox -s build
  • py -m py_compile source\conf.py
  • git diff --check

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

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