We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6eea65e + 9ad26cb commit ce8b720Copy full SHA for ce8b720
1 file changed
.github/workflows/tag-dispatch.yml
@@ -0,0 +1,18 @@
1
+name: Notify Downstream on Tag
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - '*'
7
8
+jobs:
9
+ notify-downstream:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Send Repository Dispatch
13
+ uses: peter-evans/repository-dispatch@v4
14
+ with:
15
+ token: ${{ secrets.DOWNSTREAM_PAT }} # 需要在 secrets 中配置个人访问令牌
16
+ repository: xieyuen-org/MCDR-Plugins # 下游仓库的 owner/repo
17
+ event-type: upstream-tag-created
18
+ client-payload: '{"tag": "${{ github.ref_name }}"}'
0 commit comments