-
Notifications
You must be signed in to change notification settings - Fork 30
34 lines (29 loc) · 910 Bytes
/
release-step-1.yml
File metadata and controls
34 lines (29 loc) · 910 Bytes
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
---
name: release-step-1
on:
workflow_dispatch:
inputs:
ref:
description: 'Branch or tag ref to run the workflow on'
required: true
default: 'main'
version:
description: 'The version to release (e.g. 1.2.3). This workflow will automatically perform the required version bumps'
required: true
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}
jobs:
pre-release:
name: "Bump versions and create PR"
uses: ./.github/workflows/pre-post-release.yml
permissions:
contents: write
with:
ref: ${{ inputs.ref }}
version: ${{ inputs.version }}
phase: 'pre'
pr_title: "[release] release-step-2 ${{ inputs.version }}"
pr_body: "Step 2 of the release process for version ${{ inputs.version }}: review & merge, then execute 'release-step-3' GH workflow"
secrets: inherit