diff --git a/.github/workflows/lint-format.yml b/.github/workflows/lint-format.yml index 23946cb..a87ab50 100644 --- a/.github/workflows/lint-format.yml +++ b/.github/workflows/lint-format.yml @@ -45,7 +45,27 @@ jobs: uses: siiway/verified_bot_commit@v0 with: message: "chore: auto-fix lint & formatting [skip ci]" - files: "**" + # Explicit whitelist instead of "**": the action downloads its own + # binary with `curl -o archive.tar.gz` into the workspace root, so + # "**" would commit that tarball (happened in Oct 2026). The + # archive.* entries in .gitignore are the second line of defense. + files: | + app/** + server/** + tests/** + docs/** + public/** + migrations/** + .github/** + *.md + *.ts + *.js + *.json + *.jsonc + *.yaml + *.yml + *.css + *.vue ref: ${{ github.head_ref || github.ref }} if-no-commit: notice diff --git a/.gitignore b/.gitignore index 4f1859d..00257b6 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,7 @@ config.yaml .direnv/ result saas-roadmap.md + +# verified_bot_commit action download artifacts (accidentally committed once) +archive.tar.gz +archive.zip