Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/librarian_generation_check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
run: |
echo "Error: Running this workflow manually on the main branch is not allowed."
exit 1
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

Check warning on line 45 in .github/workflows/librarian_generation_check.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

ref-version-mismatch

librarian_generation_check.yaml:45: action's hash pin has mismatched or missing version comment: points to commit 11d5960a3267
with:
fetch-depth: 0
persist-credentials: false
Expand Down Expand Up @@ -75,8 +75,6 @@
librarian install
echo "$HOME/.cache/librarian/bin/java_tools/bin" >> $GITHUB_PATH
- name: Run librarian generate
env:
PYTHONPATH: ${{ github.workspace }}/sdk-platform-java/hermetic_build/library_generation/owlbot
run: |
librarian generate --all
- name: Check for generated code changes
Expand Down Expand Up @@ -107,7 +105,7 @@
fi
- name: Create issue if previous step fails
if: ${{ failure() && github.event_name == 'push' && github.ref == 'refs/heads/main' }}
uses: googleapis/librarian/.github/actions/create-issue-on-failure@main # zizmor: ignore[unpinned-uses]

Check failure on line 108 in .github/workflows/librarian_generation_check.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
title: "Librarian generate diff check failed on main branch"
body: |
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/sdk-platform-java-downstream.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
# Changes to these directories do not directly affect the downstream libraries
paths-ignore:
- gapic-generator-java/**
- library_generation/**
- showcase/**
- test/**

Expand All @@ -19,7 +18,7 @@
outputs:
library: ${{ steps.filter.outputs.library }}
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

Check warning on line 21 in .github/workflows/sdk-platform-java-downstream.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

ref-version-mismatch

sdk-platform-java-downstream.yaml:21: action's hash pin has mismatched or missing version comment: points to commit 11d5960a3267
with:
persist-credentials: false
- uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1
Expand All @@ -43,7 +42,7 @@
- java-firestore
- java-pubsub
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3

Check warning on line 45 in .github/workflows/sdk-platform-java-downstream.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

ref-version-mismatch

sdk-platform-java-downstream.yaml:45: action's hash pin has mismatched or missing version comment: points to commit a37ce9120846
with:
persist-credentials: false
- uses: actions/setup-java@17f84c3641ba7b8f6deff6309fc4c864478f5d62 # v3
Expand All @@ -67,7 +66,7 @@
strategy:
fail-fast: false
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3

Check warning on line 69 in .github/workflows/sdk-platform-java-downstream.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

ref-version-mismatch

sdk-platform-java-downstream.yaml:69: action's hash pin has mismatched or missing version comment: points to commit a37ce9120846
with:
persist-credentials: false
- uses: actions/setup-java@17f84c3641ba7b8f6deff6309fc4c864478f5d62 # v3
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/showcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
outputs:
library: ${{ steps.filter.outputs.library }}
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

Check warning on line 16 in .github/workflows/showcase.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

ref-version-mismatch

showcase.yaml:16: action's hash pin has mismatched or missing version comment: points to commit 11d5960a3267
with:
persist-credentials: false
- uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1
Expand All @@ -32,7 +32,7 @@
name: "showcase (8)"
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

Check warning on line 35 in .github/workflows/showcase.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

ref-version-mismatch

showcase.yaml:35: action's hash pin has mismatched or missing version comment: points to commit 11d5960a3267
with:
persist-credentials: false
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4
Expand Down Expand Up @@ -110,7 +110,7 @@
matrix:
java: [ 11, 17, 21, 25, 26 ]
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

Check warning on line 113 in .github/workflows/showcase.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

ref-version-mismatch

showcase.yaml:113: action's hash pin has mismatched or missing version comment: points to commit 11d5960a3267
with:
persist-credentials: false
- uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4
Expand All @@ -127,13 +127,7 @@
- uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5
with:
go-version: 'stable'
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
with:
python-version: "3.12"
cache: 'pip'
- name: Install Librarian and tools
env:
PYTHONPATH: ${{ github.workspace }}/sdk-platform-java/hermetic_build/library_generation/owlbot
run: |
V=$(go run github.com/googleapis/librarian/cmd/librarian@latest config get version)
echo "Installing librarian version $V"
Expand Down Expand Up @@ -216,7 +210,7 @@
runs-on: ubuntu-22.04
steps:
- name: Checkout @ target branch
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

Check warning on line 213 in .github/workflows/showcase.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

ref-version-mismatch

showcase.yaml:213: action's hash pin has mismatched or missing version comment: points to commit 11d5960a3267
with:
ref: ${{ github.base_ref }}
persist-credentials: false
Expand All @@ -238,7 +232,7 @@
echo "SHOWCASE_CLIENT_VERSION=$SHOWCASE_CLIENT_VERSION" >> "$GITHUB_ENV"
working-directory: java-showcase
- name: Checkout sdk-platform-java @ PR merge commit
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3

Check warning on line 235 in .github/workflows/showcase.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

ref-version-mismatch

showcase.yaml:235: action's hash pin has mismatched or missing version comment: points to commit a37ce9120846
with:
persist-credentials: false
- name: Install sdk-platform-java @ PR merge commit
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/update_librarian_googleapis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
working-directory: google-cloud-java
steps:
- name: Checkout google-cloud-java
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6

Check warning on line 34 in .github/workflows/update_librarian_googleapis.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

ref-version-mismatch

update_librarian_googleapis.yaml:34: action's hash pin has mismatched or missing version comment: points to commit d23441a48e51
with:
repository: googleapis/google-cloud-java
path: google-cloud-java
Expand Down Expand Up @@ -77,7 +77,7 @@
- name: Run librarian update & tidy
run: |
go run "github.com/googleapis/librarian/cmd/librarian@${STEPS_LIBRARIAN_OUTPUTS_VERSION}" update sources.googleapis
go run "github.com/googleapis/librarian/cmd/librarian@${{ steps.librarian.outputs.version }}" tidy

Check failure on line 80 in .github/workflows/update_librarian_googleapis.yaml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/template-injection

code injection via template expansion: may expand into attacker-controllable code
env:
STEPS_LIBRARIAN_OUTPUTS_VERSION: ${{ steps.librarian.outputs.version }}
- name: Get latest commit
Expand Down Expand Up @@ -125,7 +125,6 @@
go run "github.com/googleapis/librarian/cmd/librarian@${STEPS_LIBRARIAN_OUTPUTS_VERSION}" install
echo "$HOME/.cache/librarian/bin/java_tools/bin" >> $GITHUB_PATH
env:
PYTHONPATH: ${{ github.workspace }}/sdk-platform-java/hermetic_build/library_generation/owlbot
STEPS_LIBRARIAN_OUTPUTS_VERSION: ${{ steps.librarian.outputs.version }}
- name: Generate Libraries
if: steps.detect_librarian.outputs.has_changes == 'true'
Expand Down
79 changes: 0 additions & 79 deletions generation/set_owlbot_config.sh

This file was deleted.

35 changes: 0 additions & 35 deletions generation/update_owlbot_postprocessor_config.sh

This file was deleted.

8 changes: 0 additions & 8 deletions librarian.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,6 @@ tools:
packaging: jar
local_path: sdk-platform-java/gapic-generator-java
main_class: com.google.api.generator.Main
pip:
- name: PyYAML
version: 6.0.2
- name: jinja2
version: 3.1.6
- name: synthtool
version: ""
local_path: sdk-platform-java/hermetic_build/library_generation
protoc:
version: "33.2"
sha256: b24b53f87c151bfd48b112fe4c3a6e6574e5198874f38036aff41df3456b8caf
Expand Down
212 changes: 0 additions & 212 deletions monorepo-migration/update_owlbot.py

This file was deleted.

Loading
Loading