From c2436e2af6e6be50cc7a8fc8240fed379b8caa19 Mon Sep 17 00:00:00 2001 From: Harish P Date: Thu, 20 Feb 2025 02:22:52 +0530 Subject: [PATCH] Added secret inheritance for release action (#83) Co-authored-by: Don Khan --- .github/workflows/release.yaml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 91ed55e9..52ea09f3 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -5,10 +5,19 @@ on: # yamllint disable-line rule:truthy workflow_call: workflow_dispatch: inputs: - version: - description: 'Version to release (major, minor, patch) Ex: 1.0.0' + option: + description: 'Select version to release' required: true + type: choice + default: 'minor' + options: + - major + - minor + - patch jobs: csm-release: uses: dell/common-github-actions/.github/workflows/csm-release-libs.yaml@main name: Release Go Client Libraries + with: + version: ${{ github.event.inputs.option }} + secrets: inherit