From 129d627dec57cb89a753facf33b1fd516c2b42eb Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Sat, 8 Nov 2025 15:07:51 +0000 Subject: [PATCH 1/2] chore(librarian): clean up owlbot files and pin image sha --- .github/auto-approve.yml | 3 --- .github/sync-repo-settings.yaml | 19 ------------------- .librarian/config.yaml | 6 ------ .librarian/state.yaml | 2 +- owlbot.py | 18 ------------------ 5 files changed, 1 insertion(+), 47 deletions(-) delete mode 100644 .github/auto-approve.yml delete mode 100644 .github/sync-repo-settings.yaml delete mode 100644 .librarian/config.yaml delete mode 100644 owlbot.py diff --git a/.github/auto-approve.yml b/.github/auto-approve.yml deleted file mode 100644 index 311ebbb..0000000 --- a/.github/auto-approve.yml +++ /dev/null @@ -1,3 +0,0 @@ -# https://github.com/googleapis/repo-automation-bots/tree/main/packages/auto-approve -processes: - - "OwlBotTemplateChanges" diff --git a/.github/sync-repo-settings.yaml b/.github/sync-repo-settings.yaml deleted file mode 100644 index 871bb68..0000000 --- a/.github/sync-repo-settings.yaml +++ /dev/null @@ -1,19 +0,0 @@ -# https://github.com/googleapis/repo-automation-bots/tree/main/packages/sync-repo-settings -# Rules for main branch protection -branchProtectionRules: -# Identifies the protection rule pattern. Name of the branch to be protected. -# Defaults to `main` -- pattern: main - requiresCodeOwnerReviews: true - requiresStrictStatusChecks: true - requiredStatusCheckContexts: - - 'cla/google' - - 'OwlBot Post Processor' - - 'Kokoro' -permissionRules: - - team: actools-python - permission: admin - - team: actools - permission: admin - - team: yoshi-python - permission: push diff --git a/.librarian/config.yaml b/.librarian/config.yaml deleted file mode 100644 index 111f94d..0000000 --- a/.librarian/config.yaml +++ /dev/null @@ -1,6 +0,0 @@ -global_files_allowlist: - # Allow the container to read and write the root `CHANGELOG.md` - # file during the `release` step to update the latest client library - # versions which are hardcoded in the file. - - path: "CHANGELOG.md" - permissions: "read-write" diff --git a/.librarian/state.yaml b/.librarian/state.yaml index 7a042e4..39c6430 100644 --- a/.librarian/state.yaml +++ b/.librarian/state.yaml @@ -1,4 +1,4 @@ -image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator:latest +image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:39628f6e89c9cad27973b9a39a50f7052bec0435ee58c7027b4fa6b655943e31 libraries: - id: google-auth-httplib2 version: 0.2.1 diff --git a/owlbot.py b/owlbot.py deleted file mode 100644 index 404937d..0000000 --- a/owlbot.py +++ /dev/null @@ -1,18 +0,0 @@ -import synthtool as s -from synthtool import gcp - -common = gcp.CommonTemplates() - -# ---------------------------------------------------------------------------- -# Add templated files -# ---------------------------------------------------------------------------- -templated_files = common.py_library( - unit_cov_level=100, - cov_level=100, - unit_test_external_dependencies=["flask", "pytest-localserver"], -) - -paths = [".kokoro", ".github", ".flake8", "renovate.json", "docs"] -for p in paths: - s.move(templated_files / p, excludes=["workflows", "multiprocessing.rst"]) - From 97c2fe76b4d162bdbd67a8220e8001d4035dc8f1 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Mon, 10 Nov 2025 16:15:45 -0500 Subject: [PATCH 2/2] update sha to match https://github.com/googleapis/google-cloud-python/pull/14864 --- .librarian/state.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.librarian/state.yaml b/.librarian/state.yaml index 39c6430..317c1d0 100644 --- a/.librarian/state.yaml +++ b/.librarian/state.yaml @@ -1,4 +1,4 @@ -image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:39628f6e89c9cad27973b9a39a50f7052bec0435ee58c7027b4fa6b655943e31 +image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:c8612d3fffb3f6a32353b2d1abd16b61e87811866f7ec9d65b59b02eb452a620 libraries: - id: google-auth-httplib2 version: 0.2.1