mirror of
https://github.com/1c7/chinese-independent-developer.git
synced 2026-08-16 18:13:28 +08:00
优化:GitHub Action 改为每 6 小时定时触发,Skill 改为批量一次提交
This commit is contained in:
13
.github/workflows/trigger_claude_routine.yml
vendored
13
.github/workflows/trigger_claude_routine.yml
vendored
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user