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 https://github.com/artefactual/archivematica-docs/pull/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.
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 https://github.com/artefactual/archivematica-docs/pull/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: https://github.com/archivematica/Issues/issues/1689