Skip to content

Commit bbf4144

Browse files
committed
Add release and patch workflows
Signed-off-by: achour94 <[email protected]>
1 parent 392e448 commit bbf4144

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed

.github/workflows/patch.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Patch
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
branchRef:
7+
description: 'Patch branch (format: release-vX.Y.Z)'
8+
required: true
9+
type: string
10+
11+
jobs:
12+
run-patch:
13+
uses: powsybl/github-ci/.github/workflows/backend-libraries/patch-generic.yml@be80e786187595034102a9926ccbedbd1c6661ae
14+
with:
15+
githubappId: ${{ vars.GRIDSUITE_ACTIONS_APPID }}
16+
branchRef: ${{ github.event.inputs.branchRef }}
17+
secrets:
18+
githubappPrivateKey: ${{ secrets.GRIDSUITE_ACTIONS_SECRET }}

.github/workflows/release.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Release
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
versionType:
7+
description: 'Version type increment (major | minor)'
8+
required: true
9+
type: choice
10+
options:
11+
- major
12+
- minor
13+
14+
jobs:
15+
run-release:
16+
uses: powsybl/github-ci/.github/workflows/backend-libraries/release-generic.yml@be80e786187595034102a9926ccbedbd1c6661ae
17+
with:
18+
githubappId: ${{ vars.GRIDSUITE_ACTIONS_APPID }}
19+
versionType: ${{ github.event.inputs.versionType }}
20+
secrets:
21+
githubappPrivateKey: ${{ secrets.GRIDSUITE_ACTIONS_SECRET }}

0 commit comments

Comments
 (0)