Skip to content

Commit a925167

Browse files
committed
fix: add workflow_dispatch and explicit trigger for release workflow
1 parent 25501dd commit a925167

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/git-cliff.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
tags:
66
- 'v*'
7+
workflow_dispatch:
78

89
jobs:
910
release:

.github/workflows/release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,9 @@ jobs:
8787
git config user.name github-actions
8888
git config user.email github-actions@github.com
8989
git tag -a "v$VERSION" -m "Release v$VERSION"
90-
git push origin "v$VERSION"
90+
git push origin "v$VERSION"
91+
92+
- name: Trigger Release Workflow
93+
if: steps.check.outputs.exists == 'false'
94+
run: |
95+
gh workflow run git-cliff.yml

0 commit comments

Comments
 (0)