Commit a35f254
chore(deps): automate Gemfile.lock maintenance (phase 1) (#34666)
* chore(deps): automate Gemfile.lock maintenance (phase 1)
Automate Gemfile.lock generation and periodic maintenance for compliance mandate https://b.corp.google.com/issues/509981628.
* fix(deps): exclude spanner from default batch and force-stage generated lockfiles
* fix(ci): pin action references to SHAs and harden workflow permissions per zizmor audit
* fix(deps): remove spanner from renovate config and scope lockfile staging
* fix(deps): remove Gemfile.lock from gitignores and refine Phase 1 target list
Remove Gemfile.lock from root and Phase 1 gem .gitignore files so lockfiles can be tracked.
Remove google-cloud-spanner from Phase 1 target matrix in generate-lockfiles.yml and renovate.json as it is hosted in ruby-spanner.
* fix(deps): scope Phase 1 lockfiles and remove external write action
Restore Gemfile.lock in root .gitignore and use explicit !Gemfile.lock negation rules in Phase 1 libraries per reviewer recommendation.
Remove third-party write action (generate-lockfiles.yml) to eliminate software supply chain risk in GitHub Actions runners.
Check in initial Gemfile.lock files directly for Phase 1 libraries (google-cloud-core, google-cloud-storage, google-cloud-pubsub, google-cloud-bigquery, google-cloud-errors).
* fix(deps): restrict Renovate bundler manager to Phase 1 target libraries
Update renovate.json syntax to use modern config:recommended and managerFilePatterns to restrict file scanning to the 5 Phase 1 libraries.
* fix(deps): explicitly disable Renovate processing for non-Phase 1 libraries
Add negation matching rules (!google-cloud-core/**, etc.) with enabled: false to packageRules in renovate.json. This ensures that while Renovate discovers all Gemfiles during initial repository extraction, all 881 non-Phase 1 libraries are completely disabled and dropped from update evaluation.
---------
Co-authored-by: Yoshi Automation Bot <yoshi-automation@google.com>1 parent 3d3e796 commit a35f254
11 files changed
Lines changed: 1703 additions & 2 deletions
File tree
- .github
- google-cloud-bigquery
- google-cloud-core
- google-cloud-errors
- google-cloud-pubsub
- google-cloud-storage
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | | - | |
| 4 | + | |
4 | 5 | | |
5 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
6 | 46 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
0 commit comments