Skip to content
Closed

test #1356

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ name: 'Update schedule'
# If scheduled execution is required, use other deployment methods.

on:
push:
branches: [ master ]
workflow_dispatch:

jobs:
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/proxy_trigger.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Proxy Trigger

on:
workflow_dispatch:
repository_dispatch:
types: [ external_update ]

jobs:
trigger_original:
runs-on: ubuntu-latest
steps:
- name: Trigger Main Workflow
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
# 使用 GitHub CLI 触发名为 "main.yml" 的工作流
# 注意:这要求 main.yml 必须已经存在于你的分支中
gh workflow run main.yml --ref master
1,278 changes: 1,164 additions & 114 deletions config/alias.txt

Large diffs are not rendered by default.

Loading
Loading