-
Notifications
You must be signed in to change notification settings - Fork 23
47 lines (41 loc) · 1.3 KB
/
update-release.yml
File metadata and controls
47 lines (41 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: CodeQL Update Release
on:
workflow_dispatch:
inputs:
mode:
description: "Please select the bump version"
required: true
type: choice
default: "patch"
options:
- patch
- minor
- major
jobs:
update-release:
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@v6
- name: Get Token
id: get_workflow_token
uses: actions/create-github-app-token@v2
with:
app-id: ${{ secrets.SECLABS_APP_ID }}
private-key: ${{ secrets.SECLABS_APP_KEY }}
- name: "Patch Release Me"
uses: 42ByteLabs/patch-release-me@ef44b04c04fde87280adf14548664bfbcebba04d # 0.6.4
with:
# Bump (patch)
mode: ${{ inputs.mode }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@98357b18bf14b5342f975ff684046ec3b2a07725 # v8.0.0
with:
token: ${{ steps.get_workflow_token.outputs.token }}
title: "Chore: Auto Update new Release"
commit-message: "[chore]: Auto Patch new Release"
body: |
This is automatically created as a chore to patch and update the release.
branch: "auto-patch-release"
labels: "version"
delete-branch: true