Skip to content

Release PR

Release PR #1395

Workflow file for this run

name: Release PR
on: create
jobs:
variables:
if: ${{ contains(github.ref, 'refs/heads/releases/') }}
outputs:
release: ${{ steps.variables.outputs.release }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- id: variables
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: .github/scripts/variables.sh
release-develop-pr:
if: ${{ contains(github.ref, 'refs/heads/releases/') }}
runs-on: ubuntu-latest
needs: variables
steps:
- uses: actions/checkout@v4
- uses: repo-sync/pull-request@v2.12
with:
destination_branch: develop
pr_title: Release ${{ needs.variables.outputs.release }} (develop)
pr_body: "## Release ${{ needs.variables.outputs.release }} (develop)"
pr_label: release
pr_draft: true
pr_allow_empty: true
github_token: ${{ secrets.GITHUB_TOKEN }}
release-master-pr:
if: ${{ contains(github.ref, 'refs/heads/releases/') }}
runs-on: ubuntu-latest
needs: variables
steps:
- uses: actions/checkout@v4
- uses: repo-sync/pull-request@v2.12
with:
destination_branch: master
pr_title: Release ${{ needs.variables.outputs.release }} (master)
pr_body: "## Release ${{ needs.variables.outputs.release }} (master)"
pr_label: release
pr_draft: true
pr_allow_empty: true
github_token: ${{ secrets.GITHUB_TOKEN }}