fix: only trigger Claude review on PR open, not every push#419
Merged
carlos-alm merged 1 commit intomainfrom Mar 12, 2026
Merged
fix: only trigger Claude review on PR open, not every push#419carlos-alm merged 1 commit intomainfrom
carlos-alm merged 1 commit intomainfrom
Conversation
Remove `synchronize` from pull_request trigger types so the automated review only runs once when the PR is first opened. Subsequent reviews require an explicit @claude mention, matching the Greptile @greptileai trigger pattern.
Contributor
Greptile SummaryThis PR makes a small, targeted change to
Confidence Score: 5/5
Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Developer action on PR] --> B{Event type?}
B -->|PR opened| C[automated-review job runs]
B -->|Push to PR\n~~synchronize~~| D[❌ No longer triggers automated-review]
B -->|issue_comment with @claude| E[interactive-claude job runs]
B -->|pull_request_review_comment\nwith @claude| E
B -->|pull_request_review\nwith @claude| E
B -->|issue opened/assigned\nwith @claude| E
C --> F[Claude posts automated review on PR]
E --> G[Claude responds interactively]
style D fill:#ffcccc,stroke:#cc0000
style C fill:#ccffcc,stroke:#009900
style E fill:#cce5ff,stroke:#0066cc
Last reviewed commit: 762c602 |
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Summary
synchronizefrom thepull_requesttrigger types inclaude.ymlso the automated review job only runs when a PR is first opened, not on every subsequent push@claudecomment — same pattern as Greptile's@greptileaitriggerTest plan
@claudeon a PR — interactive Claude should respond