Skip to content

Commit f80c788

Browse files
committed
ci(versions): skip existing-versions-check on release-please branches
1 parent 9ecc251 commit f80c788

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/versions.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ jobs:
3434
existing-versions-check:
3535
runs-on: ubuntu-latest
3636
if: |
37-
github.repository_owner == 'googleapis' && github.head_ref == 'release-please--branches--main' &&
38-
!endsWith(github.event.pull_request.title, 'SNAPSHOT')
37+
github.repository_owner == 'googleapis' &&
38+
!startsWith(github.head_ref, 'release-please')
3939
steps:
4040
- run: sudo apt-get update -y
4141
- run: sudo apt-get install libxml2-utils

0 commit comments

Comments
 (0)