Skip to content

Release cloudnative-pg-v0.20.1 #46

Release cloudnative-pg-v0.20.1

Release cloudnative-pg-v0.20.1 #46

Workflow file for this run

# Create a PR for a release when a commit is pushed on a release/v* branch
name: release-pr
on:
push:
branches:
- release/*-v*
jobs:
pull-request:
runs-on: ubuntu-22.04
steps:
-
name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
-
name: Get tag
run: |
echo "TAG=${GITHUB_REF##*/}" >> $GITHUB_ENV
-
name: Pull Request
id: open-pr
uses: repo-sync/pull-request@7e79a9f5dc3ad0ce53138f01df2fad14a04831c5 # v2.12.1
with:
destination_branch: "main"
github_token: ${{ secrets.GITHUB_TOKEN }}
pr_body: "Automated PR. Will trigger the ${{ env.TAG }} release when approved."
pr_label: release
pr_title: "Release ${{ env.TAG }}"