Skip to content

Commit 883e291

Browse files
authored
Added secret inheritance for release action (dell#61)
1 parent c5b7bab commit 883e291

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/release.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,15 @@ on: # yamllint disable-line rule:truthy
55
workflow_call:
66
workflow_dispatch:
77
inputs:
8-
version:
9-
description: 'Version to release (major, minor, patch) Ex: 1.0.0'
8+
option:
9+
description: 'Select version to release'
1010
required: true
11+
type: choice
12+
default: 'minor'
13+
options:
14+
- major
15+
- minor
16+
- patch
1117
repository_dispatch:
1218
types: [release-go-libs]
1319
jobs:

0 commit comments

Comments
 (0)