-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (45 loc) · 1.46 KB
/
create_release_branch.yml
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
48
49
50
51
52
53
54
name: Create Release branch
on:
workflow_dispatch:
inputs:
version-bump:
required: false
type: choice
options:
- major
- minor
- patch
default: patch
description: 'Major, Minor, or Patch version bump'
jobs:
create_branch:
name: 'Create Release Branch'
runs-on: ubuntu-20.04
permissions:
contents: write
actions: write
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Create Release Branch
id: create_branch
uses: pagopa/selfcare-commons/github-actions-template/create-release@main
with:
version_bump: ${{ inputs.version-bump }}
github_path_token: ${{ secrets.GH_PAT_VARIABLES }}
- name: Trigger release ms UAT Release
run: |
gh workflow run release_ms.yml \
--ref ${{ steps.create_branch.outputs.new_branch_name }}
- name: Trigger PNPG release ms UAT Release
run: |
gh workflow run release_pnpg_ms.yml \
--ref ${{ steps.create_branch.outputs.new_branch_name }}
- name: Trigger release cdc UAT Release
run: |
gh workflow run release_cdc.yml \
--ref ${{ steps.create_branch.outputs.new_branch_name }}
- name: Trigger PNPG release cdc UAT Release
run: |
gh workflow run release_pnpg_cdc.yml \
--ref ${{ steps.create_branch.outputs.new_branch_name }}