Skip to content

ci(dependabot): comment on a major bump once, not on every push - #153

Merged
dustenhubbard merged 1 commit into
mainfrom
ci/dependabot-comment-once
Sep 1, 2026
Merged

ci(dependabot): comment on a major bump once, not on every push#153
dustenhubbard merged 1 commit into
mainfrom
ci/dependabot-comment-once

Conversation

@dustenhubbard

Copy link
Copy Markdown
Member

The major-bump comment step has no event filter, so it runs on every push Dependabot makes to a branch it has already opened, not only when the pull request opens. Three of the five major bumps opened on Sep 1 carry the comment twice, and one left open would collect another on each rebase. This limits the step to the opening event.

Closes #152.

The step had no event filter, so it ran on `synchronize` as well as `opened`,
and Dependabot pushes a rebase moments after opening a pull request. Three of
the five majors opened on 2026-09-01 carry the comment twice, and a long-lived
pull request would collect one per rebase for as long as it stayed open.

The auto-merge step above it stays on every event on purpose: `gh pr merge
--auto` is idempotent, so re-running it re-arms a pull request whose auto-merge
has been cleared.
@dustenhubbard
dustenhubbard merged commit 22bdc24 into main Sep 1, 2026
6 checks passed
@dustenhubbard
dustenhubbard deleted the ci/dependabot-comment-once branch September 1, 2026 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

dependabot-auto comments on a major bump more than once

1 participant