combine checks for semver

This commit is contained in:
Jonathan Kelley 2024-02-21 22:11:03 -08:00
parent 862d2ea6f4
commit 76929071b3
No known key found for this signature in database
GPG key ID: 1FBB50F7EB0A08BE

View file

@ -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: