Open nodiscc opened 1 year ago
Reopening, as diagnosed in https://github.com/nodiscc/hecat/issues/126
The url_check module should be able to only check URLs in files that were changed between two branches.
Github actions provides environment variables GITHUB_BASE_REF and GITHUB_HEAD_REF which could be passed to the url_check module (e.g.
URL_CHECK_BASE_REF=$GITHUB_BASE_REF HEAD_REF=$GITHUB_HEAD_REF hecat --config .hecat/url-check.yml
)
E.g. for https://github.com/awesome-selfhosted/awesome-selfhosted-data/pull/10/files, only files that have changed should be checked.