From a1c0edd71d61774e519a5b40cd6b6d84aa4c7bf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hozza?= Date: Tue, 1 Apr 2025 13:11:25 +0200 Subject: [PATCH] GH Action/create-tag: allow passing the version when run manually MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Modify the action to allow passing the version when run manually. This will be useful in the future once we branch-off a `rhel-x.y` branch to backport a fix and will be doing the first "dot" release from such branch. Signed-off-by: Tomáš Hozza --- .github/workflows/create-tag.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/create-tag.yml b/.github/workflows/create-tag.yml index 73dafedc5..544230c1f 100644 --- a/.github/workflows/create-tag.yml +++ b/.github/workflows/create-tag.yml @@ -3,6 +3,11 @@ name: "Create and push release tag" on: workflow_dispatch: + inputs: + version: + description: 'Version to tag. Useful for making the first "dot" release from a rhel-x.y branch.' + required: false + default: "" schedule: - cron: "0 8 * * 3" @@ -22,3 +27,4 @@ jobs: token: "${{ secrets.SCHUTZBOT_GITHUB_ACCESS_TOKEN }}" username: "imagebuilder-bot" email: "imagebuilder-bots+imagebuilder-bot@redhat.com" + version: ${{ github.event.inputs.version }}