Skip to content

Commit 56c9370

Browse files
authored
Update Harper CLI lint command to use find
1 parent 5b966a7 commit 56c9370

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/harper.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ jobs:
1717
run: cargo install --git https://github.com/Automattic/harper harper-cli --locked
1818

1919
- name: Run Harper
20-
run: harper-cli lint docs src/pages
20+
run: find docs src/pages -type f \( -name "*.md" -o -name "*.mdx" \) -print0 | xargs -0 harper-cli lint

0 commit comments

Comments
 (0)