fix(deploy): Gate 7 跳过 web/app/assets 哈希产物
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -245,7 +245,7 @@ if ls "${AUDIT_DIR}/${TODAY}-"*.md 1>/dev/null 2>&1; then
|
||||
for CF in ${CHANGED_FILES}; do
|
||||
# 跳过非代码文件与门控运行日志
|
||||
case "${CF}" in
|
||||
docs/*|CLAUDE.md|*.md|deploy/gate_log.jsonl) continue ;;
|
||||
docs/*|CLAUDE.md|*.md|deploy/gate_log.jsonl|web/app/assets/*) continue ;;
|
||||
esac
|
||||
# 检查审计文件是否提到了这个文件
|
||||
if ! grep -q "$(basename "${CF}")" "${FILE}" 2>/dev/null; then
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
| 页面 | `ScriptsPage.vue`、`ScriptRunsPage.vue`、`SchedulesPage.vue` |
|
||||
| 类型/工具 | `api.ts`、`scriptExecutionLabels.ts` |
|
||||
| 单测 | `test_script_execution_server_names.py` |
|
||||
| 构建 | `web/app/index.html`、Vite assets |
|
||||
| 构建 | `web/app/index.html`、`web/app/assets/*`(Vite 哈希产物) |
|
||||
|
||||
## Step 3 规则扫描
|
||||
|
||||
|
||||
Reference in New Issue
Block a user