Skip to content

Problem: linkcheck checks all links, even if unrelated to current PR #1690

@eviau-artefactual

Description

@eviau-artefactual

Current behavior

As it is, linkcheck outputs all outdated URLs, including those in files unrelated to the current PR.

An example of this: https://github.com/artefactual/archivematica-docs/actions/runs/9007494522/job/24747392272?pr=461#step:8:1

Expected behavior

That linkcheck outputs only links in files that were changed, and if possible, only links in actual commits.

Potential solution

A potential solution was proposed in artefactual/archivematica-docs#463 - but it might introduce too much complexity for the purpose... The best option would be to manage this at the pre-commit level, locally.

Related issue: #1689

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions