Skip to content

Commit 0f204f6

Browse files
committed
ci: release workflow version without version bump
1 parent 3d7d597 commit 0f204f6

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Create Release
2+
on:
3+
workflow_dispatch:
4+
5+
jobs:
6+
changelog:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
with:
11+
token: ${{ secrets.GH_TOKEN }}
12+
- name: Create Conventional Changelog
13+
id: changelog
14+
uses: TriPSs/[email protected]
15+
with:
16+
github-token: ${{ secrets.GH_TOKEN }}
17+
skip-on-empty: false
18+
skip-bump: true
19+
- name: Create Release
20+
uses: actions/create-release@v1
21+
if: ${{ steps.changelog.outputs.skipped == 'false' }}
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
24+
with:
25+
tag_name: ${{ steps.changelog.outputs.tag }}
26+
release_name: ${{ steps.changelog.outputs.tag }}
27+
body: ${{ steps.changelog.outputs.clean_changelog }}

0 commit comments

Comments
 (0)