Fix muzzle release branch exclusion (#5914)

This commit is contained in:
Trask Stalnaker 2022-04-22 13:41:35 -07:00 committed by GitHub
parent 8e5e815e6b
commit 483caae4d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ jobs:
# release branch PRs are excluded
# because any time a new library version is released to maven central it can fail
# which requires unnecessary release branch maintenance, especially for patches
if: ${{ !startsWith(github.base_ref, 'v') }}
if: ${{ !startsWith(github.base_ref, 'release/') }}
uses: ./.github/workflows/reusable-muzzle.yml
with:
cache-read-only: true
@ -91,7 +91,7 @@ jobs:
needs.assemble.result != 'success' ||
needs.test.result != 'success' ||
needs.smoke-test.result != 'success' ||
needs.muzzle.result != 'success' ||
(!startsWith(github.base_ref, 'release/') && needs.muzzle.result != 'success') ||
needs.gradle-plugins.result != 'success' ||
needs.examples.result != 'success'
run: exit 1