File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77
88permissions :
99 contents : write
10+ actions : write
1011
1112jobs :
1213 tag :
6162 tag="${{ steps.version.outputs.tag }}"
6263 git tag "$tag"
6364 git push origin "$tag"
65+
66+ # GITHUB_TOKEN tag pushes do not cascade to other workflows. Explicitly
67+ # dispatch Release / Docker Publish (workflow_dispatch is exempt).
68+ - name : Trigger Release and Docker Publish
69+ if : steps.check_tag.outputs.should_publish == 'true'
70+ env :
71+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
72+ run : |
73+ tag="${{ steps.version.outputs.tag }}"
74+ gh workflow run release.yml --ref "$tag"
75+ gh workflow run docker-publish.yml --ref "$tag"
Original file line number Diff line number Diff line change 77 push :
88 tags :
99 - " v*"
10+ # Allow Auto Tag On Release Merge to cascade after a GITHUB_TOKEN tag push
11+ # (token-authored pushes do not retrigger push workflows).
12+ workflow_dispatch :
1013
1114jobs :
1215 docker :
Original file line number Diff line number Diff line change 44 push :
55 tags :
66 - " v*"
7+ # Allow Auto Tag On Release Merge to cascade after a GITHUB_TOKEN tag push
8+ # (token-authored pushes do not retrigger push workflows).
9+ workflow_dispatch :
710
811permissions :
912 contents : write
You can’t perform that action at this time.
0 commit comments