File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,15 @@ name: create-release-pr
22
33on :
44 workflow_dispatch :
5+ inputs :
6+ bump_type :
7+ description : ' Which version to bump when creating a release PR: minor or patch?'
8+ required : true
9+ default : ' patch'
10+ type : choice
11+ options :
12+ - patch
13+ - minor
514
615jobs :
716 create-release-pr :
1423 uses : miniscruff/changie-action@v2
1524 with :
1625 version : latest
17- args : batch patch
26+ args : batch ${{ github.event.inputs.bump_type }}
1827
1928 - name : merge-changes
2029 uses : miniscruff/changie-action@v2
4857 title : Release ${{ steps.latest.outputs.output }}
4958 branch : release/${{ steps.latest.outputs.output }}
5059 commit-message : Release ${{ steps.latest.outputs.output }}
60+ body : |
61+ Here is what a new entry in changelog would look like:
62+
63+ [`.changes/${{ steps.latest.outputs.output }}.md`](https://github.com/${{ github.repository }}/blob/release/${{ steps.latest.outputs.output }}/.changes/${{ steps.latest.outputs.output }}.md)
5164 token : ${{ github.token }}
You can’t perform that action at this time.
0 commit comments