Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add trigger to release Go client libraries #71

Merged
merged 5 commits into from
Feb 20, 2025
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
name: Release GoNVMe
# Invocable as a reusable workflow
# Can be manually triggered
on: # yamllint disable-line rule:truthy

Check warning on line 4 in .github/workflows/release.yaml

View workflow job for this annotation

GitHub Actions / Golang Validation / Yaml Lint

4:5 [comments] too few spaces before comment
workflow_call:
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
- 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.option }}
version: "${{ github.event.inputs.version || 'minor' }}"
secrets: inherit