From a43ea826c078265e9b3ebac70a6361c8e0300209 Mon Sep 17 00:00:00 2001 From: Harish P Date: Tue, 11 Feb 2025 21:39:47 +0530 Subject: [PATCH] Added secret inheritance for release action (#80) --- .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 cdf69c8..4ce4447 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