Skip to content

Commit 8cf5c00

Browse files
authored
Merge branch 'main' into fix-fast-sql-query-b467064659
2 parents 58704d5 + 79e26b8 commit 8cf5c00

1,294 files changed

Lines changed: 276055 additions & 9266 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/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
strategy:
6060
fail-fast: false
6161
matrix:
62-
java: [11, 17, 21, 25]
62+
java: [11, 17, 21, 25, 26]
6363
steps:
6464
- name: Get current week within the year
6565
id: date
@@ -226,7 +226,7 @@ jobs:
226226
fail-fast: false
227227
matrix:
228228
package: ${{ fromJSON(needs.changes.outputs.packages) }}
229-
java: [11, 17, 21, 25]
229+
java: [11, 17, 21, 25, 26]
230230
steps:
231231
- name: Get current week within the year
232232
id: date

.github/workflows/google-auth-library-java-ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
strategy:
4343
fail-fast: false
4444
matrix:
45-
java: [11, 17, 21, 25]
45+
java: [11, 17, 21, 25, 26]
4646
steps:
4747
- uses: actions/checkout@v4
4848
- uses: actions/setup-java@v4

.github/workflows/hermetic_library_generation.yaml

Lines changed: 0 additions & 51 deletions
This file was deleted.

.github/workflows/java-bigquery-jdbc-ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
strategy:
5050
fail-fast: false
5151
matrix:
52-
java: [11, 17, 21, 25]
52+
java: [11, 17, 21, 25, 26]
5353
steps:
5454
- uses: actions/checkout@v4
5555
- uses: actions/setup-java@v4

.github/workflows/java-bigtable-ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
strategy:
4242
fail-fast: false
4343
matrix:
44-
java: [11, 17, 21, 25]
44+
java: [11, 17, 21, 25, 26]
4545
steps:
4646
- uses: actions/checkout@v4
4747
- uses: actions/setup-java@v4

.github/workflows/java-firestore-ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
strategy:
4242
fail-fast: false
4343
matrix:
44-
java: [11, 17, 21, 25]
44+
java: [11, 17, 21, 25, 26]
4545
steps:
4646
- uses: actions/checkout@v4
4747
- uses: actions/setup-java@v4

.github/workflows/java-pubsub-ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
strategy:
4242
fail-fast: false
4343
matrix:
44-
java: [11, 17, 21, 25]
44+
java: [11, 17, 21, 25, 26]
4545
steps:
4646
- uses: actions/checkout@v4
4747
- uses: actions/setup-java@v4

.github/workflows/java-spanner-jdbc-ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
strategy:
4848
fail-fast: false
4949
matrix:
50-
java: [11, 17, 21, 25]
50+
java: [11, 17, 21, 25, 26]
5151
steps:
5252
- uses: actions/checkout@v4
5353
- uses: actions/setup-java@v4

.github/workflows/java-storage-nio-ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
strategy:
4848
fail-fast: false
4949
matrix:
50-
java: [11, 17, 21, 25]
50+
java: [11, 17, 21, 25, 26]
5151
steps:
5252
- uses: actions/checkout@v4
5353
- uses: actions/setup-java@v4

.github/workflows/librarian_generation_check.yaml

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,19 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
name: Librarian - Generate diff check on pull requests
14+
name: Librarian - Generate diff check on main
1515
on:
16-
pull_request:
16+
push:
17+
branches:
18+
- main
19+
workflow_dispatch:
1720

1821
jobs:
1922
library_generation:
2023
runs-on: ubuntu-24.04
24+
permissions:
25+
contents: read
26+
issues: write
2127
steps:
2228
- uses: actions/checkout@v4
2329
with:
@@ -57,7 +63,7 @@ jobs:
5763
- name: Run librarian install
5864
run: |
5965
librarian install
60-
echo "$HOME/java_tools/bin" >> $GITHUB_PATH
66+
echo "$HOME/.cache/librarian/bin/java_tools/bin" >> $GITHUB_PATH
6167
- name: Run librarian generate
6268
env:
6369
PYTHONPATH: ${{ github.workspace }}/sdk-platform-java/hermetic_build/library_generation/owlbot
@@ -67,6 +73,20 @@ jobs:
6773
run: |
6874
if [ -n "$(git status --porcelain)" ]; then
6975
git status
76+
echo "==================== GIT DIFF ===================="
77+
git diff
78+
echo "=================================================="
7079
echo "Regeneration produced code changes! Please run 'librarian generate --all' to update the generated files."
7180
exit 1
7281
fi
82+
- name: Create issue if previous step fails
83+
if: ${{ failure() && github.ref == 'refs/heads/main' }}
84+
uses: googleapis/librarian/.github/actions/create-issue-on-failure@main
85+
with:
86+
title: "Librarian generate diff check failed on main branch"
87+
body: |
88+
The librarian generate diff check failed on main branch.
89+
90+
To keep the `main` branch healthy, please consider **reverting the triggering change** first. Once the revert is merged, you can investigate the failure and submit a new PR with the fix.
91+
92+
Please check the logs: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}

0 commit comments

Comments
 (0)