优化:GitHub Action 改为每 6 小时定时触发,Skill 改为批量一次提交

This commit is contained in:
郑诚 (Cheng Zheng)
2026-06-25 23:42:41 +08:00
parent 3d96444f7a
commit f80df37ad8
2 changed files with 21 additions and 31 deletions

View File

@@ -1,22 +1,13 @@
name: 触发 Claude Routine
on:
issues:
types: [opened]
pull_request_target:
types: [opened]
issue_comment:
types: [created]
schedule:
- cron: '0 */6 * * *'
workflow_dispatch:
jobs:
trigger:
runs-on: ubuntu-latest
if: |
github.event_name == 'workflow_dispatch' ||
github.event_name == 'issues' ||
(github.event_name == 'pull_request_target' && !startsWith(github.event.pull_request.head.ref, 'auto-add-')) ||
(github.event_name == 'issue_comment' && github.event.issue.number == 160)
steps:
- name: 触发 Claude Routine
run: |