mirror of
https://github.com/1c7/chinese-independent-developer.git
synced 2026-08-16 18:13:28 +08:00
ci: 修复自触发循环,禁用旧定时 Action
This commit is contained in:
4
.github/workflows/process_list.yml
vendored
4
.github/workflows/process_list.yml
vendored
@@ -1,8 +1,6 @@
|
|||||||
name: 提交项目(每 24 小时运行一次,晚上 00:00)
|
name: 提交项目(每 24 小时运行一次,晚上 00:00)
|
||||||
on:
|
on:
|
||||||
schedule:
|
workflow_dispatch: # 已由 Claude Routine 接管自动处理,保留手动触发作为备用
|
||||||
- cron: '0 16 * * *' # 每天 UTC 16:00 运行(北京时间 00:00)
|
|
||||||
workflow_dispatch: # 支持手动触发
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|||||||
2
.github/workflows/trigger_claude_routine.yml
vendored
2
.github/workflows/trigger_claude_routine.yml
vendored
@@ -13,7 +13,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: |
|
if: |
|
||||||
github.event_name == 'issues' ||
|
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)
|
(github.event_name == 'issue_comment' && github.event.issue.number == 160)
|
||||||
steps:
|
steps:
|
||||||
- name: 触发 Claude Routine
|
- name: 触发 Claude Routine
|
||||||
|
|||||||
Reference in New Issue
Block a user