Skip to content

Commit

Permalink
Added secret inheritance for release action (#83)
Browse files Browse the repository at this point in the history
Co-authored-by: Don Khan <[email protected]>
  • Loading branch information
harishp8889 and donatwork authored Feb 19, 2025
1 parent 3d925b7 commit c2436e2
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c2436e2

Please sign in to comment.