Commit 0a8e38f
Replace deprecated URL checker action with direct invocation (OWASP#3332)
* Replace deprecated URL checker action with maintained fork
gaurav-nelson/github-action-markdown-link-check is explicitly deprecated
and points to tcort/github-action-markdown-link-check as its successor.
The new action is actively maintained by the upstream markdown-link-check
package author and uses the same config file format.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Test: add intentionally broken link to verify URL checker
This broken link should trigger a failure in the URL checker workflow,
confirming the new action correctly detects dead links. This commit
should be reverted before merging.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Debug: add verbose output and direct markdown-link-check test
- Add a step that runs markdown-link-check directly (outside Docker)
to see raw output and verify it detects the broken link
- Disable quiet mode and enable verbose mode on the action step
- This is a temporary debug commit to be reverted
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Replace Docker-based action with direct markdown-link-check invocation
The tcort/github-action-markdown-link-check Docker action has a known
bug (OWASP#553) where markdown-link-check silently fails inside the container,
reporting all links as good without checking anything.
This replaces the action with direct npm installation and invocation of
markdown-link-check, which works correctly on the runner. Also fixes the
PR modified-files detection by using fetch-depth: 0 for proper git diff.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Remove intentionally broken test link
The URL checker has been verified to correctly detect broken links.
Removing the test link added for debugging.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent f3ad55d commit 0a8e38f
1 file changed
Lines changed: 29 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
20 | 25 | | |
21 | | - | |
22 | | - | |
| 26 | + | |
| 27 | + | |
23 | 28 | | |
24 | 29 | | |
25 | | - | |
26 | | - | |
| 30 | + | |
| 31 | + | |
27 | 32 | | |
28 | | - | |
29 | | - | |
| 33 | + | |
| 34 | + | |
30 | 35 | | |
| 36 | + | |
| 37 | + | |
31 | 38 | | |
32 | 39 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
0 commit comments