Revert: 撤销之前的条件判断,修复会在脚本内处理

This commit is contained in:
adminlove520
2026-03-20 12:13:29 +08:00
parent 55e6ba1eab
commit 22865b9750

View File

@@ -181,13 +181,11 @@ jobs:
name: 🤖 AI 代码审查
runs-on: ubuntu-latest
needs: [security-check, auto-check]
# fork PR 没有 secrets需要跳过或手动触发
if: |
needs.security-check.outputs.safe_to_run == 'true' &&
needs.auto-check.result == 'success' &&
needs.auto-check.outputs.has_reviewable_changes == 'true' &&
vars.ENABLE_AI_REVIEW != 'false' &&
secrets.OPENAI_API_KEY != ''
vars.ENABLE_AI_REVIEW != 'false'
steps:
# 先检出主分支(获取最新的 .github/scripts