-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (29 loc) · 974 Bytes
/
gitflow.yml
File metadata and controls
32 lines (29 loc) · 974 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
name: Generic Gitflow & Release Notes
on:
workflow_dispatch:
inputs:
version_increment:
type: choice
required: false
description: 'BUMP TYPE: Select if you want an auto-increment the latest version (ignored if Manual Version is set)'
options:
- minor
- patch
- major
version:
type: string
required: false
description: 'MANUAL VERSION: Enter a specific version (e.g., 1.2.3). Leaves empty to use Bump Type above.'
pull_request:
types:
- closed
branches:
- master
- develop
jobs:
release_workflow:
uses: redmatter/github-workflows/.github/workflows/gitflow.yml@v1
with:
version: ${{ inputs.version }}
version_increment: ${{ inputs.version_increment }}
secrets: inherit