From 17c70dfef250030edc21678f6c87a46e820a5fb5 Mon Sep 17 00:00:00 2001 From: Alex Clarke Date: Mon, 25 Nov 2024 19:03:48 -0700 Subject: [PATCH] ci: Adding fields to allow more dynamic executions of releases for testing purposes [skip ci] --- .github/workflows/release.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 010d377..56a8818 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,11 +19,15 @@ on: - patch - minor - major + target_job: + description: "Which job to start with" + required: false + default: "bump" jobs: bump: runs-on: ubuntu-latest - + if: ${{ github.event.inputs.target_job == 'bump' }} steps: - name: Configure SSH for Git run: | @@ -106,6 +110,7 @@ jobs: # for more information needs: bump name: Release-plz + if: ${{ github.event.inputs.target_job == 'release-plz' }} runs-on: ubuntu-latest steps: - name: Check if actor is repository owner