Skip to content

Version tag to 1.25.0-rc1 #13

Version tag to 1.25.0-rc1

Version tag to 1.25.0-rc1 #13

Workflow file for this run

# Create a tag when a PR on a release/v* branch is merged
name: release-tag
on:
pull_request:
types:
- closed
branches:
- release-*
- main
paths:
- 'pkg/versions/versions.go'
jobs:
tag:
runs-on: ubuntu-22.04
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Create tag
if: github.event.pull_request.merged == true && startsWith(github.head_ref, 'release/v')
uses: christophebedard/[email protected]
with:
token: ${{ secrets.REPO_GHA_PAT }}
version_regex: '^Version tag to ([0-9]+\.[0-9]+\.[0-9]+(?:-[a-z][0-9a-z]*)?)'
version_tag_prefix: v
dry_run: false