Skip to content

Commit 5e58e88

Browse files
committed
Only check docs directory
1 parent c8ae9be commit 5e58e88

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ jobs:
4545

4646
- name: Check for documentation changes
4747
run: |
48-
if [[ -n $(git status --porcelain) ]]; then
49-
echo "The following files have been modified:"
50-
git status --porcelain
48+
if [[ -n $(git status --porcelain docs/) ]]; then
49+
echo "The following files in the docs directory have been modified:"
50+
git status --porcelain docs/
5151
echo "Please run ./bin/run.js docs-generator command to update the documentation."
5252
exit 1
5353
fi

0 commit comments

Comments
 (0)