From f696918accb36f70e693b8616efbc10fd22faaed Mon Sep 17 00:00:00 2001 From: Jon C Date: Wed, 9 Sep 2026 13:19:22 +0200 Subject: [PATCH] Backport v2.1.0 CI: Allow toggling semver checks off #### Problem We haven't published the v2.1.0 crate, but it has some breaking changes according to cargo semver-checks, making it not possible to publish without doing a breaking release. #### Summary of changes Keep things simple, and just allow disabling the semver checks step, like with other repos. The breaking changes are an addition to an enum and some internal function signatures. --- .github/workflows/publish-rust.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/publish-rust.yml b/.github/workflows/publish-rust.yml index 7546432d..db51d4ed 100644 --- a/.github/workflows/publish-rust.yml +++ b/.github/workflows/publish-rust.yml @@ -39,6 +39,14 @@ on: required: true type: boolean default: true + run-semver: + description: | + Run semver checks. + Only disable checks if you are sure of the semver impact of your change and have a good reason + to skip it. + required: true + type: boolean + default: true jobs: set_env: @@ -78,4 +86,5 @@ jobs: version: ${{ inputs.version }} create-release: ${{ inputs.create-release }} dry-run: ${{ inputs.dry-run }} + run-semver: ${{ inputs.run-semver }} secrets: inherit