We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ab0474 commit 7f96ca6Copy full SHA for 7f96ca6
1 file changed
.github/workflows/release.yml
@@ -3,6 +3,17 @@ on:
3
push:
4
branches:
5
- main
6
+ workflow_dispatch:
7
+ inputs:
8
+ release_type:
9
+ description: "Release type to force (patch, minor, major)"
10
+ required: false
11
+ default: "patch"
12
+ type: choice
13
+ options:
14
+ - patch
15
+ - minor
16
+ - major
17
concurrency:
18
group: "${{ github.workflow }}-${{ github.ref }}"
19
cancel-in-progress: true
@@ -20,7 +31,8 @@ jobs:
20
31
uses: TriPSs/conventional-changelog-action@91be4f3188da74fe85de9caffcebc80b26d43b5b # v6
21
32
with:
22
33
github-token: ${{ secrets.GH_RELEASE_PAT }}
23
- skip-on-empty: true
34
+ skip-on-empty: ${{ github.event_name != 'workflow_dispatch' }}
35
+ release-type: ${{ github.event.inputs.release_type || 'patch' }}
24
36
git-push: false
25
37
skip-git-pull: true
26
38
skip-version-file: true
0 commit comments