File tree 1 file changed +44
-0
lines changed
1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change
1
+ on :
2
+ workflow_dispatch :
3
+ inputs :
4
+ level :
5
+ description : |
6
+ Select the level of the release:
7
+ - minor: Increase the minor version (x.y.0)
8
+ - patch: Increase the patch version (x.y.z)
9
+ required : true
10
+ type : choice
11
+ options :
12
+ - minor
13
+ - patch
14
+
15
+ jobs :
16
+ Create Release PR :
17
+ permissions :
18
+ id-token : write # Enable OIDC
19
+ pull-requests : write
20
+ contents : write
21
+ runs-on : ubuntu-latest
22
+ steps :
23
+ - name : Checkout code
24
+ uses : actions/checkout@v4
25
+
26
+ - name : Configure gitsign
27
+ uses : chainguard-dev/actions/setup-gitsign@main
28
+
29
+ - name : Install `cargo-release`
30
+ uses : taiki-e/install-action@v1
31
+ with :
32
+ tool : cargo-release
33
+
34
+ - name : Install `npm`
35
+ uses : actions/setup-node@v4
36
+
37
+ - name : Install `doctoc`
38
+ run : npm install doctoc
39
+
40
+ - name : Create a release pull request
41
+ uses : cargo-bins/release-pr@v2
42
+ with :
43
+ github-token : ${{ secrets.GITHUB_TOKEN }}
44
+ version : ${{ github.event.inputs.level }}
You can’t perform that action at this time.
0 commit comments