Update PR visual recap workflow with cost controls#268
Merged
Conversation
Recaps now auto-run only for large changes (>= 20 changed files or >= 600 changed lines by default; override via VISUAL_RECAP_MIN_FILES / VISUAL_RECAP_MIN_LINES repository variables). Small PRs are skipped silently before any model invocation. The synchronize and closed triggers are removed, so recaps are not regenerated on every push or on merge. Adding the visual-recap label forces a run at any size; remove and re-add the label to regenerate.
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.
Updates
.github/workflows/pr-visual-recap.yml: recaps now auto-run only for large changes (>= 20 changed files or >= 600 changed lines; overridable via theVISUAL_RECAP_MIN_FILES/VISUAL_RECAP_MIN_LINESrepository variables), small PRs skip silently before any model invocation, thesynchronize/closedtriggers are removed (no regeneration on every push or on merge), and adding thevisual-recaplabel forces a run at any size (remove and re-add to regenerate). No other workflows are modified.