From 1e78ac188e6bafc75a64752e2ae407d5192f6180 Mon Sep 17 00:00:00 2001 From: gilltaran <91598969+gilltaran@users.noreply.github.com> Date: Tue, 4 Feb 2025 17:57:10 +0530 Subject: [PATCH] Update image-version-update.yaml --- .github/workflows/image-version-update.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/image-version-update.yaml b/.github/workflows/image-version-update.yaml index 11dc2f0..bcb6b75 100644 --- a/.github/workflows/image-version-update.yaml +++ b/.github/workflows/image-version-update.yaml @@ -1,4 +1,4 @@ -# Copyright (c) 2024 Dell Inc., or its subsidiaries. All Rights Reserved. +# Copyright (c) 2025 Dell Inc., or its subsidiaries. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -11,6 +11,10 @@ name: Image Version Update on: # yamllint disable-line rule:truthy workflow_dispatch: + inputs: + version: + description: "Version to release (major, minor, patch) Ex: minor" + required: true repository_dispatch: types: [image-update-workflow] @@ -19,5 +23,5 @@ jobs: image-version-update: uses: dell/common-github-actions/.github/workflows/image-version-workflow.yaml@main with: - version: "minor" + version: "${{ github.event.inputs.version || 'minor' }}" secrets: inherit