Skip to content

fix: improve dependabot config and auto-sync SDK overrides#122

Merged
evgeniko merged 2 commits into
mainfrom
fix/dependabot-sdk-overrides
Feb 6, 2026
Merged

fix: improve dependabot config and auto-sync SDK overrides#122
evgeniko merged 2 commits into
mainfrom
fix/dependabot-sdk-overrides

Conversation

@evgeniko

@evgeniko evgeniko commented Feb 6, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Remove the wormhole-sdk group from dependabot config since it only contains @wormhole-foundation/sdk. This was causing misleading PR titles like "Bump the wormhole-sdk group with 32 updates" when only 1 dependency actually changed. The wormhole-ntt group is kept as-is.
  • Add a workflow to auto-sync overrides when dependabot bumps @wormhole-foundation/sdk. The workflow updates sdk, sdk-base, and sdk-definitions overrides to match the new version and commits back to the PR branch.
  • Uses pull_request_target instead of pull_request because GITHUB_TOKEN is read-only on dependabot-triggered pull_request events. pull_request_target runs in the base branch context with write permissions, allowing the workflow to push commits back to the dependabot PR branch. The job is gated on github.actor == 'dependabot[bot]'.

Test plan

  • Verify dependabot creates individual PRs for @wormhole-foundation/sdk with clear titles
  • Verify the wormhole-ntt group still works correctly for NTT package updates
  • Verify the overrides workflow triggers on dependabot PRs and updates package.json overrides

🤖 Generated with Claude Code

evgeniko and others added 2 commits February 6, 2026 14:27
Remove the wormhole-sdk group since it only contains one package
(@wormhole-foundation/sdk), which made PR titles misleading (e.g.
"32 updates" when only 1 dependency changed). Individual PRs will
now have clear titles.

Add a workflow to automatically update the overrides section
(sdk, sdk-base, sdk-definitions) when dependabot bumps the main
@wormhole-foundation/sdk version.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
GITHUB_TOKEN is read-only on dependabot pull_request events.
Switch to pull_request_target which runs in the base branch
context and has write permissions to push back to the PR branch.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@evgeniko
evgeniko merged commit 0cdfd3b into main Feb 6, 2026
1 check passed
@evgeniko
evgeniko deleted the fix/dependabot-sdk-overrides branch February 6, 2026 14:47
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