Skip to content

Commit

Permalink
Merge pull request #56 from aaronjae22/fix/markdown_failing_for_non_a…
Browse files Browse the repository at this point in the history
…rticle

Only run the sanity check for article markdowns
  • Loading branch information
aaronjae22 authored Mar 22, 2024
2 parents 3605a2a + d3a8c21 commit a154e71
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 a154e71

Please sign in to comment.