From f2919b9a2aa6b17e732abd13d911fb2df3343b94 Mon Sep 17 00:00:00 2001 From: Manoel Aranda Neto Date: Tue, 10 Jan 2023 15:45:18 +0100 Subject: [PATCH] add merge target --- .github/workflows/release.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2a8bbc3d19..1209884c7d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,12 +8,17 @@ on: force: description: Force a release even when there are release-blockers (optional) required: false + merge_target: + description: Target branch to merge into. Uses the default branch as a fallback (optional) + required: false + jobs: release: runs-on: ubuntu-latest name: "Release a new version" steps: - - uses: actions/checkout@v3 + - name: Check out current commit (${{ github.sha }}) + uses: actions/checkout@v3 with: token: ${{ secrets.GH_RELEASE_PAT }} fetch-depth: 0 @@ -24,3 +29,4 @@ jobs: with: version: ${{ github.event.inputs.version }} force: ${{ github.event.inputs.force }} + merge_target: ${{ github.event.inputs.merge_target }}