ci: 修复自触发循环,禁用旧定时 Action

This commit is contained in:
郑诚 (Cheng Zheng)
2026-06-18 13:40:51 +08:00
parent 3ee8ead5d2
commit 10f1f63171
2 changed files with 2 additions and 4 deletions

View File

@@ -1,8 +1,6 @@
name: 提交项目(每 24 小时运行一次,晚上 00:00
on:
schedule:
- cron: '0 16 * * *' # 每天 UTC 16:00 运行(北京时间 00:00
workflow_dispatch: # 支持手动触发
workflow_dispatch: # 已由 Claude Routine 接管自动处理,保留手动触发作为备用
jobs:
build:

View File

@@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
if: |
github.event_name == 'issues' ||
github.event_name == 'pull_request' ||
(github.event_name == 'pull_request' && !startsWith(github.event.pull_request.head.ref, 'auto-add-')) ||
(github.event_name == 'issue_comment' && github.event.issue.number == 160)
steps:
- name: 触发 Claude Routine