feat(github-actions): add daily Gemini model update workflow and local action#3706
Open
josephperrott wants to merge 2 commits into
Open
feat(github-actions): add daily Gemini model update workflow and local action#3706josephperrott wants to merge 2 commits into
josephperrott wants to merge 2 commits into
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automatically updates Gemini model versions based on the official deprecation schedules. Rebuilds any dependent checked-in action bundles and verifies all tests pass daily.