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 <thozza@redhat.com>
This commit is contained in:
parent
52a822075e
commit
09bc0d1ffb
1 changed files with 6 additions and 0 deletions
6
.github/workflows/create-tag.yml
vendored
6
.github/workflows/create-tag.yml
vendored
|
|
@ -3,6 +3,11 @@ name: "Create and push release tag"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
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:
|
schedule:
|
||||||
- cron: "0 8 * * 3"
|
- cron: "0 8 * * 3"
|
||||||
|
|
||||||
|
|
@ -22,3 +27,4 @@ jobs:
|
||||||
token: "${{ secrets.SCHUTZBOT_GITHUB_ACCESS_TOKEN }}"
|
token: "${{ secrets.SCHUTZBOT_GITHUB_ACCESS_TOKEN }}"
|
||||||
username: "imagebuilder-bot"
|
username: "imagebuilder-bot"
|
||||||
email: "imagebuilder-bots+imagebuilder-bot@redhat.com"
|
email: "imagebuilder-bots+imagebuilder-bot@redhat.com"
|
||||||
|
version: ${{ github.event.inputs.version }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue