Skip to content

Commit

Permalink
Only run the sanity check for article markdowns
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronjae22 committed Mar 22, 2024
1 parent 3605a2a commit d3a8c21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sanity_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

echo "Loading the Markdown files that have changed"

for x in $(git diff --name-only HEAD origin/main -- "*.md")
for x in $(git diff --name-only HEAD origin/main -- "articles/*.md")
do
is_valid_md=$(python validate_markdown_metadata.py $x)
if $is_valid_md; then
Expand Down

0 comments on commit d3a8c21

Please sign in to comment.