We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6d0884 commit bb65247Copy full SHA for bb65247
.github/workflows/validate-artifacts.yml
@@ -54,22 +54,3 @@ jobs:
54
exit 1
55
fi
56
echo "No placeholder content found."
57
-
58
- - name: Validate internal links
59
- run: |
60
- broken=0
61
- for f in *.md; do
62
- while IFS= read -r link; do
63
- target=$(echo "$link" | sed 's/.*](//' | sed 's/).*//')
64
- if [[ "$target" != http* ]] && [[ "$target" != "#"* ]] && [ ! -e "$target" ]; then
65
- echo "BROKEN LINK in $f: $target"
66
- broken=$((broken + 1))
67
- fi
68
- done < <(grep -oE '\[.*?\]\([^)]+\)' "$f" 2>/dev/null || true)
69
- done
70
- if [ $broken -gt 0 ]; then
71
- echo ""
72
- echo "$broken broken internal link(s) found."
73
- exit 1
74
75
- echo "All internal links valid."
0 commit comments