Skip to content

Commit

Permalink
ci: version-check to run only for release-please PR (#632)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
suztomo authored Mar 24, 2022
1 parent bbf28bc commit 27b4ef4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions java-shared-dependencies/.github/workflows/version-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
upper-bound-check:
name: Upper-bound check
runs-on: ubuntu-latest
if: github.repository_owner == 'googleapis' && github.head_ref == 'release-please--branches--main'
steps:
- uses: actions/checkout@v2
- uses: stCarolas/setup-maven@v4
Expand All @@ -25,6 +26,7 @@ jobs:
grpc-convergence-check:
name: gRPC dependency convergence check
runs-on: ubuntu-latest
if: github.repository_owner == 'googleapis' && github.head_ref == 'release-please--branches--main'
steps:
- uses: actions/checkout@v2
- uses: stCarolas/setup-maven@v4
Expand Down

0 comments on commit 27b4ef4

Please sign in to comment.