ci: add input for base branch

This commit is contained in:
Byron Hambly 2022-10-28 16:35:12 +02:00
parent c0337a0c6f
commit fc67c768a1
No known key found for this signature in database
GPG key ID: DE8F6EA20A661697

View file

@ -6,6 +6,10 @@ on:
version:
description: "The new version in X.Y.Z format."
required: true
base:
description: "The base branch for the pull request."
default: "master"
required: true
jobs:
draft-new-release:
@ -58,7 +62,7 @@ jobs:
with:
GITHUB_TOKEN: ${{ secrets.BOTTY_GITHUB_TOKEN }}
head: release/${{ github.event.inputs.version }}
base: master
base: ${{ github.event.inputs.base }}
title: Release version ${{ github.event.inputs.version }}
reviewers: ${{ github.actor }}
body: |