Skip to content

deps: update repo-automation-bots digest to 3bed974 #27

deps: update repo-automation-bots digest to 3bed974

deps: update repo-automation-bots digest to 3bed974 #27

on:
pull_request:
# Runs on PRs targeting main, but will be filtered for Release PRs
branches:
- 'main'
workflow_dispatch:
inputs:
protobuf_runtime_versions:
description: 'Comma separated list of Protobuf-Java versions (i.e. "3.25.x","4.x.y")'
required: true
schedule:
- cron: '0 1 * * *' # Nightly at 1am
name: Downstream Protobuf Compatibility Check Nightly
jobs:
downstream-protobuf-test:
# Checks if PR comes from Release-Please branch or if invoked from nightly job
if: github.head_ref == 'release-please--branches--main' || github.event_name == 'schedule'
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
repo:
- google-cloud-java
- java-bigtable
- java-bigquery
- java-bigquerystorage
- java-datastore
- java-firestore
- java-logging
- java-logging-logback
- java-pubsub
- java-pubsublite
- java-spanner-jdbc
- java-spanner
- java-storage
- java-storage-nio
# Default Protobuf-Java versions to use are specified here. Without this, the nightly workflow won't know
# which values to use and would resolve to ''.
protobuf-version: ${{ fromJSON(format('[{0}]', inputs.protobuf_runtime_versions || '"3.25.5","4.28.3"')) }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
- name: Print Protobuf-Java testing version
run: echo "Testing with Protobuf-Java v${{ matrix.protobuf-version }}"
- name: Perform downstream source compatibility testing
run: REPOS_UNDER_TEST="${{ matrix.repo }}" PROTOBUF_RUNTIME_VERSION="${{ matrix.protobuf-version}}" ./.kokoro/nightly/downstream-protobuf-source-compatibility.sh