Skip to content

Bump github.com/getkin/kin-openapi from 0.124.0 to 0.131.0 #344

Bump github.com/getkin/kin-openapi from 0.124.0 to 0.131.0

Bump github.com/getkin/kin-openapi from 0.124.0 to 0.131.0 #344

Workflow file for this run

name: "Release PR Check"
on:
pull_request:
branches:
- master
types:
- opened
- edited
- synchronize
- labeled
- unlabeled
jobs:
check:
name: "PR check if release"
if: startsWith(github.event.pull_request.title, 'release:')
runs-on: ubuntu-latest
steps:
- uses: Slashgear/[email protected]
with:
regexp: 'release:\s*v?(\d+\.\d+\.\d+)(-\S+)?.*' # Regex the title should match.
- name: Check version
run: |
version=$(echo "${{ github.event.pull_request.title }}" | grep -o -P '(\d+\.\d+\.\d+)(-\S+)?')
echo Seems you want to release v$version
if git show-ref --tags v$version --quiet; then
echo "* but the tag already exists"
exit 1
else
echo "* tag v$version is valid"
fi