Skip to content

Commit

Permalink
Added secret inheritance for release action (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
harishp8889 authored Feb 11, 2025
1 parent b6b832a commit a43ea82
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 a43ea82

Please sign in to comment.