From 76929071b3a5bd2cc0e9f948f865fbd12847ad2f Mon Sep 17 00:00:00 2001 From: Jonathan Kelley Date: Wed, 21 Feb 2024 22:11:03 -0800 Subject: [PATCH] combine checks for semver --- .github/workflows/main.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 10bf6e0783..cfdefd3f41 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -121,8 +121,7 @@ jobs: # However, this means we won't attempt to backport them, so you should be careful about using this label, as it will # likely make future backporting difficult semver: - if: github.event.pull_request.draft == false - if: ${{ !contains(github.event.pull_request.labels.*.name, 'breaking') }} + if: github.event.pull_request.draft == false && !contains(github.event.pull_request.labels.*.name, 'breaking') name: Semver Check runs-on: ubuntu-latest steps: