From 5caad1f1aa173294567f4aba43acc0e82042f2b9 Mon Sep 17 00:00:00 2001 From: Edward Hesketh Date: Sat, 12 Oct 2024 23:47:31 +0100 Subject: [PATCH] ci: choice instead of string for release workflow --- .github/workflows/release.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 989e8b3..998c254 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,13 +3,12 @@ on: workflow_dispatch: inputs: bump: - description: 'bump amount' - required: false - default: 'patch' + type: choice + description: Amount to bump options: - patch: - minor: - major: + - patch + - minor + - major permissions: contents: write