Skip to content

Commit 5811f20

Browse files
fix(ci): include all markdown files in lychee link check (#264)
Previously, the workflow only checked markdown files in the skills/ directory and the root README.md. This caused failures when PRs modified markdown files in other directories (e.g., third_party/). Now all changed markdown files are included in the link check, regardless of their directory location. Fixes CI failure in PR #263 where third_party/ElevenLabs/README.md changes were not being checked. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <noreply@anthropic.com>
1 parent 272550a commit 5811f20

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

.github/workflows/links.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ jobs:
7979
run: |
8080
FILES=""
8181
82-
# Add changed markdown files from skills directory
83-
echo "${{ steps.changed-files.outputs.files }}" | grep '^skills/.*\.md$' | while read f; do
82+
# Add all changed markdown files (from any directory)
83+
echo "${{ steps.changed-files.outputs.files }}" | grep '\.md$' | while read f; do
8484
if [ -f "$f" ]; then
8585
FILES="$FILES $f"
8686
fi
@@ -91,11 +91,6 @@ jobs:
9191
FILES="$FILES temp_md/*.md"
9292
fi
9393
94-
# Add README.md if changed
95-
if echo "${{ steps.changed-files.outputs.files }}" | grep -q '^README\.md$'; then
96-
FILES="$FILES README.md"
97-
fi
98-
9994
# Remove leading/trailing whitespace
10095
FILES=$(echo $FILES | xargs)
10196

0 commit comments

Comments
 (0)