diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1a4f347ae..f073ca89c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -511,7 +511,7 @@ jobs: # We don't care about the semver of unstable tokio features. features: ${{ env.TOKIO_STABLE_FEATURES }} - name: Check semver for rest of the workspace - if: ${{ !startsWith(github.event.pull_request.base.ref, 'tokio-1.') }} + if: ${{ !startsWith(github.event.pull_request.base.ref, 'tokio-1.') && !startsWith(github.ref_name, 'tokio-1.') }} uses: obi1kenobi/cargo-semver-checks-action@v2 with: rust-toolchain: ${{ env.rust_stable }}