Skip to content

chore: use workflow in google-cloud-java #109

chore: use workflow in google-cloud-java

chore: use workflow in google-cloud-java #109

# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# GitHub action job to test core java library features on
# downstream client libraries before they are released.
name: Hermetic library generation upon generation config change through pull requests
on:
pull_request:
jobs:
library_generation:
uses: googleapis/google-cloud-java/.github/workflows/reusable_library_generation.yaml@chore/setup-reusable-workflow
with:
repo_full_name: ${{ github.event.pull_request.head.repo.full_name }}
repository: ${{ github.repository }}
base_ref: ${{ github.base_ref }}
head_ref: ${{ github.head_ref }}
secrets:
token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}