Skip to content

Commit 7d942ce

Browse files
authored
[fix] limit check-md-links to only 'next' docs (#3611)
1 parent 9413174 commit 7d942ce

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/check-md-links.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ jobs:
2828
echo 'files<<EOF'
2929
git diff --name-only --diff-filter=AM \
3030
"${{ github.event.pull_request.base.sha }}...HEAD" \
31-
-- '*.md' '*.mdx'
31+
-- 'docs-next/**/*.md' 'docs-next/**/*.mdx' \
32+
'i18n/zh-CN/docusaurus-plugin-content-docs-next/**/*.md' \
33+
'i18n/zh-CN/docusaurus-plugin-content-docs-next/**/*.mdx'
3234
echo EOF
3335
} >> "$GITHUB_OUTPUT"
3436

0 commit comments

Comments
 (0)