From 6bbf5b6d0fa90c5fa5574827c7bf34bf20e260e8 Mon Sep 17 00:00:00 2001 From: "M. J. Fromberger" Date: Wed, 13 Apr 2022 16:01:39 -0700 Subject: [PATCH] Work around markdown-link-check issues. (#8339) Work around two issues causing the markdown link check to fail in CI. 1. https://github.com/actions/checkout/pull/760. A git permissions issue, apparently triggered by a combination of a git change and the behaviour of actions/checkout. 2. https://github.com/gaurav-nelson/github-action-markdown-link-check/pull/129. Merging an updated version of the underlying package that fixes a bug in the handling of local #anchors. The workaround is a temporary patched fork of the link-checker action. This should be removed once the upstream issues are addressed. --- .github/workflows/markdown-links.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/markdown-links.yml b/.github/workflows/markdown-links.yml index 634072404..356eb3f31 100644 --- a/.github/workflows/markdown-links.yml +++ b/.github/workflows/markdown-links.yml @@ -16,7 +16,7 @@ jobs: with: PATTERNS: | **/**.md - - uses: gaurav-nelson/github-action-markdown-link-check@1.0.14 + - uses: creachadair/github-action-markdown-link-check@master with: check-modified-files-only: 'yes' config-file: '.md-link-check.json'