From 61aa9c555c679fa77361f5f48477b2e0ff910612 Mon Sep 17 00:00:00 2001 From: Quorafind Date: Sat, 28 Nov 2026 14:30:41 +0800 Subject: [PATCH] ci: run the Obsidian review checks in strict mode Every rule the directory scanner reports is now at 0 on master, so make any new finding fail the job. Keep the calendar submodule out of the scanner's Stylelint run: CI checks it out to build, but the directory scanner never sees submodule contents, so its demo CSS isn't part of the plugin's review. --- .github/workflows/obsidian-review.yml | 6 ++---- .stylelintignore | 4 ++++ 2 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 .stylelintignore diff --git a/.github/workflows/obsidian-review.yml b/.github/workflows/obsidian-review.yml index 89892aae..d7f9e320 100644 --- a/.github/workflows/obsidian-review.yml +++ b/.github/workflows/obsidian-review.yml @@ -40,7 +40,5 @@ jobs: uses: obsidianmd/obsidian-workflows@v1 with: scanner-lint: true - # Advisory for now: the existing scanner warnings would fail - # the job. Switch to `strict: true` once they are cleared so - # no new finding can land. - strict: false + # Every finding the directory scanner reports fails the job. + strict: true diff --git a/.stylelintignore b/.stylelintignore new file mode 100644 index 00000000..34d11213 --- /dev/null +++ b/.stylelintignore @@ -0,0 +1,4 @@ +# The calendar workspace package is a git submodule. The Obsidian directory +# scanner never sees submodule contents, so keep it out of the scanner +# Stylelint run in CI (.github/workflows/obsidian-review.yml). +packages/calendar/