Skip to content
This repository was archived by the owner on Sep 19, 2023. It is now read-only.

Commit 36abede

Browse files
authored
ci: version-check to run only for release-please PR (#632)
While updating multiple dependencies in the BOM, it's ok to have inconsistent versions. But we want to ensure the consistent versioning when we make a release of the BOM. I copied the setting from https://github.com/googleapis/java-cloud-bom/blob/main/.github/workflows/full-convergence-check.yaml#L10
1 parent e70ef22 commit 36abede

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/version-check.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ jobs:
88
upper-bound-check:
99
name: Upper-bound check
1010
runs-on: ubuntu-latest
11+
if: github.repository_owner == 'googleapis' && github.head_ref == 'release-please--branches--main'
1112
steps:
1213
- uses: actions/checkout@v2
1314
- uses: stCarolas/setup-maven@v4
@@ -25,6 +26,7 @@ jobs:
2526
grpc-convergence-check:
2627
name: gRPC dependency convergence check
2728
runs-on: ubuntu-latest
29+
if: github.repository_owner == 'googleapis' && github.head_ref == 'release-please--branches--main'
2830
steps:
2931
- uses: actions/checkout@v2
3032
- uses: stCarolas/setup-maven@v4

0 commit comments

Comments
 (0)