Skip to content

Commit 5b35e9a

Browse files
committed
feat(ci): Update to update release
1 parent da367c8 commit 5b35e9a

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed
Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
name: CodeQL Patch Release
1+
name: CodeQL Update Release
22

33
on:
44
workflow_dispatch:
55
inputs:
66
mode:
7-
description: "Auto-release mode"
7+
description: "Please select the bump version"
88
required: true
99
type: choice
1010
default: "patch"
@@ -14,7 +14,7 @@ on:
1414
- major
1515

1616
jobs:
17-
patch-release:
17+
update-release:
1818
runs-on: ubuntu-latest
1919

2020
steps:
@@ -29,20 +29,19 @@ jobs:
2929
application_private_key: ${{ secrets.SECLABS_APP_KEY }}
3030

3131
- name: "Patch Release Me"
32-
run: |
33-
cargo install patch-release-me
34-
35-
patch-release-me bump -m "${{ inputs.mode }}"
32+
uses: 42ByteLabs/[email protected]
33+
with:
34+
# Bump (patch)
35+
mode: ${{ inputs.mode }}
3636

3737
- name: Create Pull Request
3838
uses: peter-evans/create-pull-request@v6
3939
with:
4040
token: ${{ steps.get_workflow_token.outputs.token }}
4141
title: "Chore: Auto Update new Release"
42-
commit-message: "[chore]: Auto Patch new Release"
42+
commit-message: "[chore]: Auto Patch new Release"
4343
body: |
4444
This is automatically created as a chore to patch and update the release.
4545
branch: "auto-patch-release"
4646
labels: "version"
4747
delete-branch: true
48-

0 commit comments

Comments
 (0)