From 7722fc02abc4908bcb47609bebd00a5afe253984 Mon Sep 17 00:00:00 2001 From: William Wong Date: Sun, 16 Jun 2024 00:20:28 -0700 Subject: [PATCH] Add version-to-bump (#31) --- .github/workflows/prepare-release.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml index 53e0965..d36f52f 100644 --- a/.github/workflows/prepare-release.yml +++ b/.github/workflows/prepare-release.yml @@ -1,7 +1,17 @@ name: Prepare release on: - workflow_dispatch: {} + workflow_dispatch: + inputs: + version-to-bump: + default: patch + description: Version to bump + options: + - major + - minor + - patch + required: true + type: choice jobs: call-workflow: @@ -10,3 +20,5 @@ jobs: id-token: write secrets: inherit uses: compulim/workflows/.github/workflows/prepare-release.yml@main + with: + version-to-bump: ${{ inputs.version-to-bump }}