fix(ci): scope auto-fix commits and ignore artifacts

This commit is contained in:
RhenCloud committed 2026-10-02 21:31:53 +08:00
1 parent 0e2e30ae1a
commit a899e16604
2 files changed
+25 -1

No files matched your search

+21 -1
View File
@@ -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
+4
View File
@@ -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