We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e84326 commit 9abc2a8Copy full SHA for 9abc2a8
1 file changed
.github/workflows/release.yml
@@ -8,6 +8,7 @@ on:
8
9
permissions:
10
contents: write
11
+ actions: write
12
13
jobs:
14
release:
@@ -73,6 +74,14 @@ jobs:
73
74
[精简包](${{ github.server_url }}/${{ github.repository }}/releases/download/${{ github.ref_name }}/${{ steps.pack.outputs.lite_name }})
75
[纯脚本包](${{ github.server_url }}/${{ github.repository }}/releases/download/${{ github.ref_name }}/${{ steps.pack.outputs.mini_name }})
76
77
+ - name: 触发同步到 KernelSU 仓库
78
+ if: github.ref_type == 'tag'
79
+ env:
80
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
81
+ # release:published 由 GITHUB_TOKEN 创建,受防递归限制不会自动触发 sync 工作流;
82
+ # 故在此显式 dispatch(workflow_dispatch 是该限制的官方例外,GITHUB_TOKEN 可触发)。
83
+ run: gh workflow run sync-kernelsu.yml
84
+
85
- name: 失败通知
86
if: failure()
87
uses: cbrgm/telegram-github-action@v1
0 commit comments