CI: Allow semver-check in release-pr.yml to be disabled via inputs (#1789)

In case buliding of previous version fail due to new releases in upstream.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2024-06-20 00:07:23 +10:00 committed by GitHub
parent c49072c565
commit 45b25fede5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -27,6 +27,11 @@ on:
required: true
type: string
default: patch
no-check-semver:
description: Whether to check semver
required: true
type: string
default: "false"
jobs:
make-release-pr:
@ -56,7 +61,7 @@ jobs:
pr-label: release
pr-release-notes: ${{ inputs.crate == 'bin' }}
pr-template-file: .github/scripts/release-pr-template.ejs
check-semver: ${{ inputs.crate != 'bin' && inputs.crate != 'leon-macros' }}
check-semver: ${{ inputs.crate != 'bin' && inputs.no-check-semver != 'true' }}
check-package: true
env:
RUSTFLAGS: --cfg reqwest_unstable