From 19dd385efdeedd2e3b200edde0078437e8b5b179 Mon Sep 17 00:00:00 2001 From: khareRajshree Date: Fri, 7 Feb 2025 21:01:43 +0530 Subject: [PATCH 1/4] add trigger job for releasing golibs --- .github/workflows/release.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e7fb386..ed18a05 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -14,6 +14,15 @@ on: # yamllint disable-line rule:truthy - major - minor - patch + repository_dispatch: + types: [release-go-libs] +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.version || 'minor' }}" + secrets: inherit jobs: csm-release: uses: dell/common-github-actions/.github/workflows/csm-release-libs.yaml@main From b89ec5b0f56cf029f62ef079fecb49f5699e6f5b Mon Sep 17 00:00:00 2001 From: khareRajshree Date: Mon, 10 Feb 2025 17:47:27 +0530 Subject: [PATCH 2/4] add trigger job for releasing golibs --- .github/workflows/release.yaml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ed18a05..6e460a5 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -6,10 +6,10 @@ on: # yamllint disable-line rule:truthy workflow_dispatch: inputs: option: - description: 'Select version to release' + description: "Select version to release" required: true type: choice - default: 'minor' + default: "minor" options: - major - minor @@ -23,10 +23,3 @@ jobs: with: version: "${{ github.event.inputs.version || 'minor' }}" secrets: inherit -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 From cb68f3c71d2a9942006c9279b5a5d82565fd4f9a Mon Sep 17 00:00:00 2001 From: shaynafinocchiaro Date: Wed, 19 Feb 2025 15:55:43 -0500 Subject: [PATCH 3/4] Update release.yaml --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6e460a5..def2c6d 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,7 +1,7 @@ name: Release GoNVMe # Invocable as a reusable workflow # Can be manually triggered -on: # yamllint disable-line rule:truthy +on: # yamllint disable-line rule:truthy workflow_call: workflow_dispatch: inputs: From ee207b1553d792c29ae0463b76e4926a8cd4d9a7 Mon Sep 17 00:00:00 2001 From: khareRajshree Date: Thu, 20 Feb 2025 18:54:44 +0530 Subject: [PATCH 4/4] linting issue resolved --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index def2c6d..9c7acc1 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -6,10 +6,10 @@ on: # yamllint disable-line rule:truthy workflow_dispatch: inputs: option: - description: "Select version to release" + description: 'Select version to release' required: true type: choice - default: "minor" + default: 'minor' options: - major - minor