From 59f16a1853700ddbd6f6b107baf7b2158acbdad4 Mon Sep 17 00:00:00 2001 From: Felipe M Date: Wed, 19 Jul 2023 18:04:10 +0200 Subject: [PATCH] allow version bump from custom ref --- .github/workflows/version_bump.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/version_bump.yml b/.github/workflows/version_bump.yml index 115f8ca..725f215 100644 --- a/.github/workflows/version_bump.yml +++ b/.github/workflows/version_bump.yml @@ -6,6 +6,11 @@ on: version: description: "Version to bump to, example: v1.5.2" required: true + ref: + description: "Ref to release from" + required: true + type: string + default: master jobs: tag-release: @@ -18,7 +23,7 @@ jobs: uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0 with: fetch-depth: 0 - ref: master + ref: ${{ inputs.ref }} - name: Tag release run: | git config user.email "${{github.repository_owner}}@users.noreply.github.com"