Skip to content

Commit 3e7d9b2

Browse files
docs: link check only on .md files (#2501)
Previously, the link checker ran on all changed files; it has now been restricted to changed .md files only. --------- Co-authored-by: Twisha Bansal <58483338+twishabansal@users.noreply.github.com>
1 parent 5a1559e commit 3e7d9b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/link_checker_workflow.yaml renamed to .github/workflows/link_checker.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
shell: bash
3535
run: |
3636
git fetch origin main
37-
CHANGED_FILES=$(git diff --name-only --diff-filter=ACMRT origin/main...HEAD)
37+
CHANGED_FILES=$(git diff --name-only --diff-filter=ACMRT origin/main...HEAD -- '*.md')
3838
3939
if [ -z "$CHANGED_FILES" ]; then
4040
echo "No markdown files changed. Skipping checks."

0 commit comments

Comments
 (0)