Skip to content

fix(ci): prevent duplicate label events on Dependabot PRs#5725

Merged
rax-it merged 1 commit intomasterfrom
fix/dependabot-duplicate-label
Mar 2, 2026
Merged

fix(ci): prevent duplicate label events on Dependabot PRs#5725
rax-it merged 1 commit intomasterfrom
fix/dependabot-duplicate-label

Conversation

@rax-it
Copy link
Contributor

@rax-it rax-it commented Feb 27, 2026

Dependabot's built-in label config fires duplicate API calls due to a race condition, emitting two "labeled" webhook events.
This causes git2gus to create 2 separate WIs for the same change.
Move labeling to a GitHub Action that checks existing labels before adding, ensuring a single clean event.

Details

Does this pull request introduce a breaking change?

  • 😮‍💨 No, it does not introduce a breaking change.

Does this pull request introduce an observable change?

  • 🤞 No, it does not introduce an observable change.
  • 🔬 Yes, it does include an observable change.

GUS work item

Dependabot's built-in label config fires duplicate API calls due to a
race condition, emitting two "labeled" webhook events. Move labeling to
a GitHub Action that checks existing labels before adding, ensuring a
single clean event.
@rax-it rax-it requested a review from a team as a code owner February 27, 2026 22:31
@rax-it rax-it merged commit 4d2fd58 into master Mar 2, 2026
48 of 49 checks passed
@rax-it rax-it deleted the fix/dependabot-duplicate-label branch March 2, 2026 17:55
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.

2 participants