Skip to content

Check new links against linkcheck baseline - #2056

Closed
Herrtian wants to merge 1 commit into
python:mainfrom
Herrtian:linkcheck-new-links-only
Closed

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

Conversation

@Herrtian

@Herrtian Herrtian commented May 20, 2026 •

Copy link
Copy Markdown
Contributor

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/

@merwok

merwok commented Jun 2, 2026

Copy link
Copy Markdown
Member

Can I ask if you summary (here and in other PRs) is generated with a chatbot tool? If yes, is the code too?

@Herrtian

Herrtian commented Jun 2, 2026

Copy link
Copy Markdown
Contributor Author

Yes. I used AI assistance for the PR summary and the code change, then checked the result against the linked issue and the project checks. If that does not fit this project's contribution expectations, I can close it.

@Herrtian Herrtian closed this Jun 5, 2026
@Herrtian
Herrtian deleted the linkcheck-new-links-only branch June 5, 2026 08:44
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

2 participants