Skip to content

Commit 2db79b5

Browse files
committed
ci: dispatch release workflow after auto-tag
1 parent 5916872 commit 2db79b5

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/version.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ concurrency:
2727
cancel-in-progress: false
2828

2929
permissions:
30+
actions: write
3031
contents: write
3132

3233
jobs:
@@ -144,6 +145,13 @@ jobs:
144145
git tag "${{ steps.next.outputs.tag }}"
145146
git push origin "${{ steps.next.outputs.tag }}"
146147
148+
- name: Trigger Release workflow
149+
if: steps.next.outputs.already_tagged != 'true'
150+
env:
151+
GH_TOKEN: ${{ github.token }}
152+
run: |
153+
gh workflow run release.yml --ref main -f tag_name="${{ steps.next.outputs.tag }}"
154+
147155
- name: Summary
148156
run: |
149157
echo "Bump : ${{ steps.bump.outputs.value }}"

0 commit comments

Comments
 (0)