Skip to content

Commit

Permalink
Let lint properly detect outdatedness of the KamiMod post
Browse files Browse the repository at this point in the history
  • Loading branch information
xuhdev committed Jun 3, 2024
1 parent 447aab9 commit 4c419e9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,7 @@ jobs:
run: ./update-post.sh

- name: Check file changes
run: git diff || ( echo "::error::content/posts/kamimod/readme.md is out of sync. Please run ./update-post.sh" && exit 1 )
run: |
if [ $(git status --porcelain | grep readme) ]; then
echo "::error::content/posts/kamimod/readme.md is out of sync. Please run ./update-post.sh" && exit 1
fi

0 comments on commit 4c419e9

Please sign in to comment.