Skip to content

Commit 8ae028f

Browse files
committed
GH Action/create-tag: allow passing the version when run manually
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 <[email protected]>
1 parent ae9386f commit 8ae028f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/create-tag.yml

+6
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ name: "Create and push release tag"
33

44
on:
55
workflow_dispatch:
6+
inputs:
7+
version:
8+
description: 'Version to tag. Useful for making the first "dot" release from a rhel-x.y branch.'
9+
required: false
10+
default: ""
611
schedule:
712
- cron: "0 8 * * 3"
813

@@ -22,3 +27,4 @@ jobs:
2227
token: "${{ secrets.SCHUTZBOT_GITHUB_ACCESS_TOKEN }}"
2328
username: "imagebuilder-bot"
2429
30+
version: ${{ github.event.inputs.version }}

0 commit comments

Comments
 (0)