fix: improve dependabot config and auto-sync SDK overrides#122
Merged
Conversation
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>
martin0995
approved these changes
Feb 6, 2026
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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
wormhole-sdkgroup 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. Thewormhole-nttgroup is kept as-is.@wormhole-foundation/sdk. The workflow updatessdk,sdk-base, andsdk-definitionsoverrides to match the new version and commits back to the PR branch.pull_request_targetinstead ofpull_requestbecauseGITHUB_TOKENis read-only on dependabot-triggeredpull_requestevents.pull_request_targetruns in the base branch context with write permissions, allowing the workflow to push commits back to the dependabot PR branch. The job is gated ongithub.actor == 'dependabot[bot]'.Test plan
@wormhole-foundation/sdkwith clear titleswormhole-nttgroup still works correctly for NTT package updatespackage.jsonoverrides🤖 Generated with Claude Code