From 3c6df823028ffbaadcca554b89685002fc115668 Mon Sep 17 00:00:00 2001 From: Harish P Date: Wed, 5 Feb 2025 15:34:54 +0530 Subject: [PATCH 1/2] updated release action --- .github/workflows/release.yaml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 0cc1f0b..b40326e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -5,18 +5,20 @@ on: # yamllint disable-line rule:truthy workflow_call: workflow_dispatch: inputs: - version: - description: 'Version to release (major, minor, patch), Example: 1.x.x' - required: true - image: - description: 'Image name. Example: csi-metadata-retriever' - default: 'csi-metadata-retriever' - required: true + 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-driver-module.yaml@main name: Release CSM Drivers and Modules with: - version: ${{ github.event.inputs.version }} - image: ${{ github.event.inputs.image }} + version: ${{ github.event.inputs.option }} + images: 'csi-metadata-retriever' secrets: inherit From ed13852e1b1c103b7f17c94c3c9a71e5e4e67359 Mon Sep 17 00:00:00 2001 From: Harish P Date: Fri, 7 Feb 2025 17:05:20 +0530 Subject: [PATCH 2/2] lint fix --- .github/workflows/release.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b40326e..4c2659b 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -6,14 +6,14 @@ on: # yamllint disable-line rule:truthy workflow_dispatch: inputs: option: - description: 'Select version to release' - required: true - type: choice - default: 'minor' - options: - - major - - minor - - patch + 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-driver-module.yaml@main