From 6cb9ec9a31c6b0ba7ec54a62b064e6564c4abf27 Mon Sep 17 00:00:00 2001 From: Husam Date: Sun, 22 Nov 2026 15:29:50 +0000 Subject: [PATCH] chore(ci): pin librarian actions to v0.53.0 --- .github/workflows/librarian_tidy.yml | 6 ++++-- .github/workflows/prerelease-deps.yml | 2 +- .github/workflows/regenerate-all.yml | 6 ++++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/librarian_tidy.yml b/.github/workflows/librarian_tidy.yml index b21aaa2b27a7..9b3015983cbc 100644 --- a/.github/workflows/librarian_tidy.yml +++ b/.github/workflows/librarian_tidy.yml @@ -21,7 +21,9 @@ jobs: librarian: - 'librarian.yaml' - - uses: googleapis/librarian@bb2ee61752bd0f5387195b54c509e4d01a52b41d + # Version of librarian is pulled from librarian.yaml, + # action is pinned to commit SHA to satisfy blanket security policy. + - uses: googleapis/librarian@c54791693e09a76a7403f3dc81c7c97782908b3d # v0.53.0 - name: Run librarian tidy if: steps.changes.outputs.librarian == 'true' @@ -31,7 +33,7 @@ jobs: if: steps.changes.outputs.librarian == 'true' run: | if ! git diff --exit-code; then - V=$(go run github.com/googleapis/librarian/cmd/librarian@latest config get version) + V=$(librarian config get version) echo "librarian.yaml is not tidy. Please run:" echo "" echo " go run github.com/googleapis/librarian/cmd/librarian@${V} tidy" diff --git a/.github/workflows/prerelease-deps.yml b/.github/workflows/prerelease-deps.yml index 65bda3ab38e1..91a884526777 100644 --- a/.github/workflows/prerelease-deps.yml +++ b/.github/workflows/prerelease-deps.yml @@ -181,7 +181,7 @@ jobs: # validation purposes only; filing a `priority: p1` issue from them would duplicate # the nightly report. The job summary written above still surfaces PR failures. if: ${{ steps.run-tests.outcome == 'failure' && github.event_name != 'pull_request' && github.repository == 'googleapis/google-cloud-python' }} - uses: googleapis/librarian/.github/actions/create-issue-on-failure@bb2ee61752bd0f5387195b54c509e4d01a52b41d + uses: googleapis/librarian/.github/actions/create-issue-on-failure@c54791693e09a76a7403f3dc81c7c97782908b3d # v0.53.0 with: title: "prerelease_deps check failed" labels: "priority: p1,nightly" diff --git a/.github/workflows/regenerate-all.yml b/.github/workflows/regenerate-all.yml index b4eea4ddd7fc..bceb51215490 100644 --- a/.github/workflows/regenerate-all.yml +++ b/.github/workflows/regenerate-all.yml @@ -54,7 +54,9 @@ jobs: fi python3 ci/get_package_shards.py - - uses: googleapis/librarian@bb2ee61752bd0f5387195b54c509e4d01a52b41d + # Version of librarian is pulled from librarian.yaml, + # action is pinned to commit SHA to satisfy blanket security policy. + - uses: googleapis/librarian@c54791693e09a76a7403f3dc81c7c97782908b3d # v0.53.0 with: protoc-version: "33.5" protoc-checksum: "eb842a2259a90a402207cae3a9261dc9501f43a535b3b3d786ecc496e117f499cf373fe41181fd9047035f7ed6c2dee9a55f7f0a7afa1c5d7cb5be3e672bf527" @@ -102,7 +104,7 @@ jobs: - name: Create issue if previous step fails if: ${{ failure() && github.event_name == 'push' }} - uses: googleapis/librarian/.github/actions/create-issue-on-failure@bb2ee61752bd0f5387195b54c509e4d01a52b41d + uses: googleapis/librarian/.github/actions/create-issue-on-failure@c54791693e09a76a7403f3dc81c7c97782908b3d # v0.53.0 with: title: "Regeneration failed" body: |