Skip to content

fix(dependency-review): only run on opened/reopened, not synchronize#2128

Merged
strawgate merged 1 commit intomainfrom
fix/dependency-review-no-synchronize
Mar 9, 2026
Merged

fix(dependency-review): only run on opened/reopened, not synchronize#2128
strawgate merged 1 commit intomainfrom
fix/dependency-review-no-synchronize

Conversation

@strawgate
Copy link
Copy Markdown
Contributor

Problem

The dependency-review.yml workflow triggers on [opened, synchronize, reopened]. The synchronize event fires every time dependabot pushes to a PR branch — typically just a rebase to resolve merge conflicts. This caused PR #2114 to receive two identical Dependency Update Analysis comments (runs 22830029727 and 22830956851).

Root Cause

Dependabot almost never changes the version being bumped on an existing PR. When a newer version is available, it opens a new PR rather than updating the old one. So re-running the analysis on synchronize produces redundant noise with no new information.

Fix

Remove synchronize from the trigger types — keep only opened and reopened.

-    types: [opened, synchronize, reopened]
+    types: [opened, reopened]

Dependabot's synchronize events are almost always rebases that don't
change the version being bumped. Running the full analysis on every
synchronize produces duplicate, redundant comments on the PR (as seen
on PR #2114 which received two identical Dependency Update Analysis
comments). When dependabot finds a newer version it opens a new PR,
so opened/reopened is sufficient coverage.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 9, 2026

Automatically handle the following tasks using AI:

  • Investigate CI Failures
  • Run an extra, in-depth, PR Review
  • Keep the body of the PR updated
  • Address review feedback
  • Address merge conflicts
Advanced controls
  • Enable PR Preview deployment
Troubleshooting

This control panel only adds or removes labels on the PR.
It does not directly start workflows.
If you toggle an option, related automation may not run until its next normal trigger event.

@github-actions github-actions Bot added no-pr-preview Disable PR Preview deployment no-pr-actions-detective Disable PR Actions Detective workflow no-pr-review Disable PR Review workflow no-update-pr-body Disable Update PR Body workflow no-address-merge-conflicts Disable Address Merge Conflicts workflow no-address-pr-feedback Disable Address PR Review Feedback workflow little_boom labels Mar 9, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 9, 2026

PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://elastic.github.io/ai-github-actions-playground/pr-preview/pr-2128/

Built to branch gh-pages at 2026-03-09 00:07 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 9, 2026

Warning

Rate limit exceeded

@strawgate has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 0 minutes and 37 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Organization UI (inherited)

Review profile: ASSERTIVE

Plan: Pro

Run ID: 484f6a98-6168-4a34-ba19-39b6c1129555

📥 Commits

Reviewing files that changed from the base of the PR and between 2dbb8e6 and a1f922f.

📒 Files selected for processing (1)
  • .github/workflows/dependency-review.yml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/dependency-review-no-synchronize
  • 🛠️ Update Documentation: Commit on current branch
  • 🛠️ Update Documentation: Create PR

Comment @coderabbitai help to get the list of available commands and usage tips.

@strawgate strawgate merged commit 072e10e into main Mar 9, 2026
19 of 20 checks passed
@strawgate strawgate deleted the fix/dependency-review-no-synchronize branch March 9, 2026 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

little_boom no-address-merge-conflicts Disable Address Merge Conflicts workflow no-address-pr-feedback Disable Address PR Review Feedback workflow no-pr-actions-detective Disable PR Actions Detective workflow no-pr-preview Disable PR Preview deployment no-pr-review Disable PR Review workflow no-update-pr-body Disable Update PR Body workflow

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant