File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CodeQL Patch Release
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ inputs :
6
+ mode :
7
+ description : " Auto-release mode"
8
+ required : false
9
+ type : string
10
+ default : " patch"
11
+
12
+ jobs :
13
+ patch-release :
14
+ runs-on : ubuntu-latest
15
+
16
+ steps :
17
+ - name : " Checkout"
18
+ uses : actions/checkout@v4
19
+
20
+ - name : Get Token
21
+ id : get_workflow_token
22
+ uses : peter-murray/workflow-application-token-action@v3
23
+ with :
24
+ application_id : ${{ secrets.BYTELABS_APP_ID }}
25
+ application_private_key : ${{ secrets.BYTELABS_APP_KEY }}
26
+
27
+ - name : " Patch Release Me"
28
+ run : |
29
+ cargo install patch-release-me
30
+
31
+ patch-release-me bump -m "${{ inputs.mode }}"
32
+
33
+ - name : Create Pull Request
34
+ uses : peter-evans/create-pull-request@v6
35
+ with :
36
+ token : ${{ steps.get_workflow_token.outputs.token }}
37
+ title : " Chore: Auto Update new Release"
38
+ commit-message : " [chore]: Auto Patch new Release"
39
+ body : |
40
+ This is automatically created as a chore to patch and update the release.
41
+ branch : " auto-patch-release"
42
+ labels : " version"
43
+ delete-branch : true
44
+
You can’t perform that action at this time.
0 commit comments