Skip to content

Commit d88acfb

Browse files
Refine: Silently skip GMA secrets in restore_secrets.py
This commit removes the explicit print statement when skipping GMA-related encrypted files in `scripts/gha/restore_secrets.py`. The script will now silently ignore these files, aligning with the complete removal of the GMA SDK and avoiding unnecessary log output.
1 parent 4f16874 commit d88acfb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/gha/restore_secrets.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ def main(argv):
8686
# /scripts/gha-encrypted/auth/google-services.json.gpg turns into
8787
# /<repo_dir>/auth/integration_test/google-services.json
8888
api = os.path.basename(os.path.dirname(path))
89+
if api == "gma": # Skip processing for GMA secrets
90+
continue
8991
if FLAGS.apis and api not in FLAGS.apis:
9092
print("Skipping secret found in product api", api)
9193
continue

0 commit comments

Comments
 (0)