File tree Expand file tree Collapse file tree 2 files changed +67
-0
lines changed Expand file tree Collapse file tree 2 files changed +67
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CodeQL Update Release
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ inputs :
6
+ mode :
7
+ description : " Please select the bump version"
8
+ required : true
9
+ type : choice
10
+ default : " patch"
11
+ options :
12
+ - patch
13
+ - minor
14
+ - major
15
+
16
+ jobs :
17
+ update-release :
18
+ runs-on : ubuntu-latest
19
+
20
+ steps :
21
+ - name : " Checkout"
22
+ uses : actions/checkout@v4
23
+
24
+ - name : Get Token
25
+ id : get_workflow_token
26
+ uses : peter-murray/workflow-application-token-action@8e4e6fbf6fcc8a272781d97597969d21b3812974 # v4.0.0
27
+ with :
28
+ application_id : ${{ secrets.SECLABS_APP_ID }}
29
+ application_private_key : ${{ secrets.SECLABS_APP_KEY }}
30
+
31
+ - name : " Patch Release Me"
32
+ uses : 42ByteLabs/patch-release-me@1e802ecb51cf4c5869cb77563df59b2fbe6f584c # 0.4.1
33
+ with :
34
+ # Bump (patch)
35
+ mode : ${{ inputs.mode }}
36
+
37
+ - name : Create Pull Request
38
+ uses : peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f # v7.0.6
39
+ with :
40
+ token : ${{ steps.get_workflow_token.outputs.token }}
41
+ title : " Chore: Auto Update new Release"
42
+ commit-message : " [chore]: Auto Patch new Release"
43
+ body : |
44
+ This is automatically created as a chore to patch and update the release.
45
+ branch : " auto-patch-release"
46
+ labels : " version"
47
+ delete-branch : true
Original file line number Diff line number Diff line change
1
+ name : " CodeQL Community Packs"
2
+ repository : " githubsecuritylab/codeql-community-packs"
3
+ version : " 0.2.0"
4
+
5
+ ecosystem : CodeQL
6
+ excludes :
7
+ - " /.codeql/"
8
+ - " /codeql/"
9
+
10
+ locations :
11
+ - name : " CodeQL Configurations"
12
+ paths :
13
+ - " configs/*.yml"
14
+ patterns :
15
+ - " {owner}/codeql-[a-zA-Z]*-queries@{version}"
16
+ - name : " CodeQL Pack Libraries"
17
+ paths :
18
+ - " **/qlpack.yml"
19
+ patterns :
20
+ - ' {owner}/codeql-[a-zA-Z]*-libs:\s*{version}'
You can’t perform that action at this time.
0 commit comments