Skip to content

Commit 326947d

Browse files
Merge branch 'main' into set_bucket_ip_filter_1
2 parents 6e8951c + 73f55a7 commit 326947d

8,196 files changed

Lines changed: 626106 additions & 71228 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/.OwlBot.lock.yaml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
1+
# Copyright 2026 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
114
docker:
215
image: gcr.io/cloud-devrel-public-resources/owlbot-ruby:latest
3-
# OwlBot Postprocessor 0.9.14
4-
digest: sha256:432e1918ac9be042c522347c9ed22b5729e448b3864186f229b3ba98fd32ebc0
16+
digest: sha256:759a14b7f892907c6b5c1e96863f15217d5854a91998aca82042e6ae94623ddb
17+
# created: 2026-04-22T21:43:51.326508348Z

.github/CODEOWNERS

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners#codeowners-syntax
66

77

8-
# @googleapis/ruby-team is the default owner for anything not
8+
# @googleapis/cloud-sdk-ruby-team is the default owner for anything not
99
# explicitly taken by someone else.
10-
* @googleapis/ruby-team @yoshi-approver
10+
* @googleapis/cloud-sdk-ruby-team @yoshi-approver
1111

12-
/google-cloud-bigquery*/. @googleapis/ruby-team @yoshi-approver @googleapis/api-bigquery
13-
/google-cloud-bigtable*/. @googleapis/ruby-team @yoshi-approver @googleapis/api-bigtable-sdk
14-
/google-cloud-datastore*/. @googleapis/ruby-team @yoshi-approver @googleapis/api-datastore-sdk
15-
/google-cloud-firestore*/. @googleapis/ruby-team @yoshi-approver @googleapis/api-firestore-sdk
16-
/google-cloud-pubsub*/. @googleapis/ruby-team @yoshi-approver @googleapis/api-pubsub
17-
/google-cloud-storage/ @googleapis/ruby-team @yoshi-approver @googleapis/gcs-sdk-team
12+
/google-cloud-bigquery*/. @googleapis/cloud-sdk-ruby-team @yoshi-approver @googleapis/bigquery-team
13+
/google-cloud-bigtable*/. @googleapis/cloud-sdk-ruby-team @yoshi-approver @googleapis/bigtable-team
14+
/google-cloud-datastore*/. @googleapis/cloud-sdk-ruby-team @yoshi-approver
15+
/google-cloud-firestore*/. @googleapis/cloud-sdk-ruby-team @yoshi-approver @googleapis/firestore-team
16+
/google-cloud-pubsub*/. @googleapis/cloud-sdk-ruby-team @yoshi-approver @googleapis/pubsub-team
17+
/google-cloud-storage/ @googleapis/cloud-sdk-ruby-team @yoshi-approver @googleapis/gcs-team

.github/workflows/bump-version.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ jobs:
3131
- name: execute
3232
run: |
3333
toys bump-version -v --fork \
34-
--version "${{ github.event.inputs.version }}" \
35-
${{ github.event.inputs.args }} -- \
36-
${{ github.event.inputs.gems }}
34+
--version "${GITHUB_EVENT_INPUTS_VERSION}" \
35+
${GITHUB_EVENT_INPUTS_ARGS} -- \
36+
${GITHUB_EVENT_INPUTS_GEMS}
37+
env:
38+
GITHUB_EVENT_INPUTS_VERSION: ${{ github.event.inputs.version }}
39+
GITHUB_EVENT_INPUTS_ARGS: ${{ github.event.inputs.args }}
40+
GITHUB_EVENT_INPUTS_GEMS: ${{ github.event.inputs.gems }}

.github/workflows/ci.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ jobs:
2626
strategy:
2727
matrix:
2828
include:
29-
- os: ubuntu-latest
30-
ruby: "3.1"
31-
task: "--test"
3229
- os: ubuntu-latest
3330
ruby: "3.2"
3431
task: "--test"
@@ -39,13 +36,17 @@ jobs:
3936
ruby: "3.4"
4037
task: "--test"
4138
- os: ubuntu-latest
42-
ruby: "3.4"
43-
task: "--rubocop-toplevel --rubocop --build --yard --linkinator"
39+
ruby: "4.0"
40+
task: "--test"
41+
- os: ubuntu-latest
42+
ruby: "4.0"
43+
# (b/515549177): Disabled linkinator globally due to broken external doc links.
44+
task: "--rubocop-toplevel --rubocop --build --yard"
4445
- os: macos-latest
45-
ruby: "3.4"
46+
ruby: "4.0"
4647
task: "--test"
4748
- os: windows-latest
48-
ruby: "3.4"
49+
ruby: "4.0"
4950
task: "--test"
5051
fail-fast: false
5152
runs-on: ${{ matrix.os }}

.github/workflows/conformance.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
strategy:
1818
matrix:
1919
ruby_version: [
20-
'3.1',
2120
'3.2',
2221
'3.3',
2322
'3.4',
23+
'4.0',
2424
]
2525
steps:
2626
- uses: actions/checkout@v6

.github/workflows/delete-library.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,7 @@ jobs:
2828
gem install --no-document toys
2929
- name: Delete-library
3030
run: |
31-
toys delete-library -v --fork ${{ github.event.inputs.flags }} ${{ github.event.inputs.gem }}
31+
toys delete-library -v --fork ${GITHUB_EVENT_INPUTS_FLAGS} ${GITHUB_EVENT_INPUTS_GEM}
32+
env:
33+
GITHUB_EVENT_INPUTS_FLAGS: ${{ github.event.inputs.flags }}
34+
GITHUB_EVENT_INPUTS_GEM: ${{ github.event.inputs.gem }}

.github/workflows/new-library.yml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,33 @@ jobs:
1616
steps:
1717
- name: Checkout repo
1818
uses: actions/checkout@v6
19+
with:
20+
# IMPORTANT: This ensures the checkout uses the correct identity for git operations
21+
token: ${{ secrets.YOSHI_CODE_BOT_TOKEN }}
22+
# - name: Debug Token Permissions
23+
# # Uncomment to debug access token issues
24+
# env:
25+
# GH_TOKEN: ${{ secrets.YOSHI_CODE_BOT_TOKEN }}
26+
# run: |
27+
# echo "=== 1. Who does this token belong to? ==="
28+
# gh api user --jq .login
29+
30+
# echo "=== 2. What scopes does this token have? ==="
31+
# gh api user -i 2>&1 | grep -i "x-oauth-scopes" || echo "Could not determine scopes"
32+
33+
# echo "=== 3. Can I see the target fork? ==="
34+
# gh repo view yoshi-code-bot/google-cloud-ruby --json viewerPermission
1935
- name: Install Ruby 3.3
2036
uses: ruby/setup-ruby@v1
2137
with:
2238
ruby-version: "3.3"
2339
- name: Install Bazel
24-
uses: bazel-contrib/setup-bazel@0.16.0
40+
uses: bazel-contrib/setup-bazel@0.18.0
2541
- name: Install tools
2642
run: |
2743
gem install --no-document toys
2844
- name: Create library
2945
run: |
30-
toys new-library -v --bazelisk --pull --pull-googleapis --test --fork --bootstrap-releases ${{ github.event.inputs.protoPath }}
46+
toys new-library -v --bazelisk --pull --pull-googleapis --test --fork --bootstrap-releases ${GITHUB_EVENT_INPUTS_PROTOPATH}
47+
env:
48+
GITHUB_EVENT_INPUTS_PROTOPATH: ${{ github.event.inputs.protoPath }}

.github/workflows/owlbot.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,13 @@ jobs:
2424
with:
2525
ruby-version: "3.3"
2626
- name: Install Bazel
27-
uses: bazel-contrib/setup-bazel@0.16.0
27+
uses: bazel-contrib/setup-bazel@0.18.0
2828
- name: Install tools
2929
run: |
3030
gem install --no-document toys
3131
- name: OwlBot
3232
run: |
33-
toys owlbot -v --pull --fork --pull-googleapis --bazelisk ${{ github.event.inputs.flags }} ${{ github.event.inputs.gems }}
33+
toys owlbot -v --pull --fork --pull-googleapis --bazelisk ${GITHUB_EVENT_INPUTS_FLAGS} ${GITHUB_EVENT_INPUTS_GEMS}
34+
env:
35+
GITHUB_EVENT_INPUTS_FLAGS: ${{ github.event.inputs.flags }}
36+
GITHUB_EVENT_INPUTS_GEMS: ${{ github.event.inputs.gems }}

.github/workflows/release-please-now.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,6 @@ jobs:
3333
run: |
3434
toys release label-please -v \
3535
--github-event-name=${{ github.event_name }} \
36-
${{ github.event.inputs.args }}
36+
${GITHUB_EVENT_INPUTS_ARGS}
37+
env:
38+
GITHUB_EVENT_INPUTS_ARGS: ${{ github.event.inputs.args }}

.github/workflows/tombstone-library.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,7 @@ jobs:
2828
gem install --no-document toys
2929
- name: Tombstone-library
3030
run: |
31-
toys tombstone-library -v --fork ${{ github.event.inputs.flags }} ${{ github.event.inputs.gem }}
31+
toys tombstone-library -v --fork ${GITHUB_EVENT_INPUTS_FLAGS} ${GITHUB_EVENT_INPUTS_GEM}
32+
env:
33+
GITHUB_EVENT_INPUTS_FLAGS: ${{ github.event.inputs.flags }}
34+
GITHUB_EVENT_INPUTS_GEM: ${{ github.event.inputs.gem }}

0 commit comments

Comments
 (0)