feat(github-actions): add daily Gemini model update workflow and local action#3706
Conversation
ed2b900 to
77868c5
Compare
There was a problem hiding this comment.
Code Review
This pull request introduces a new local GitHub Action, update-models, designed to parse the Gemini deprecations page and automatically update deprecated model references across .ts, .yml, and .yaml files in the repository. Feedback on the implementation highlights a few critical issues: the model replacement logic is fragile and needs stricter regex validation to avoid corrupting files with descriptive text, and fast-glob requires the dot: true option to ensure .github directories are scanned. Additionally, it is recommended to make the parseDeprecations function synchronous since it contains no asynchronous operations.
e4f328c to
498e00b
Compare
498e00b to
de3a723
Compare
de3a723 to
2158982
Compare
alan-agius4
left a comment
There was a problem hiding this comment.
LGTM, just a couple of NITs
467aaa2 to
081fce4
Compare
|
This PR was merged into the repository. The changes were merged into the following branches:
|
Automatically updates Gemini model versions based on the official deprecation schedules. Rebuilds any dependent checked-in action bundles and verifies all tests pass daily.