From b95fbe84b791fb6df78894660407596f9867a6f6 Mon Sep 17 00:00:00 2001 From: Tobias Koch Date: Mon, 13 Feb 2023 16:32:27 +0100 Subject: [PATCH] Open PR from release -> dev after release --- .github/workflows/create-release.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 4203baf0..472b04fa 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -89,4 +89,15 @@ jobs: title: 'Update version to ${{ github.event.inputs.versionTag }}', head: 'release/set-version-to-${{ github.event.inputs.versionTag }}', base: 'master' + }); + + - name: Open PR to development + uses: actions/github-script@v4.0.2 + with: + github-token: ${{secrets.JOHNNY_Q5_REPORTS_TOKEN}} + script: | + await github.request(`POST /repos/${{ github.repository }}/pulls`, { + title: 'Merge release ${{ github.event.inputs.versionTag }} into development', + head: 'master', + base: 'development' });