Bump version to v1.30.0 #46
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
branches: | |
- release/v* | |
concurrency: | |
group: ${{ github.ref }}-${{ github.workflow }} | |
cancel-in-progress: true | |
jobs: | |
pull-request-on-release: | |
name: Create Release PR | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Derive from branch name | |
run: | | |
VERSION=${GITHUB_REF##*/} | |
echo "PULL_REQUEST_TITLE=chore(release): ${VERSION}" >> $GITHUB_ENV | |
- uses: actions/checkout@v3 | |
- name: Create changelog | |
id: create_changelog | |
uses: mikepenz/[email protected] | |
with: | |
toTag: ${{ github.ref }} | |
configuration: .github/changelog.json | |
ignorePreReleases: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: pull-request-action | |
uses: vsoch/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
PULL_REQUEST_BRANCH: "main" | |
PULL_REQUEST_UPDATE: true | |
BRANCH_PREFIX: release/v | |
PULL_REQUEST_BODY: | | |
Changelog | |
${{steps.create_changelog.outputs.changelog}} |