ci: auto-bump Bee version in Swarm CLI on stable release - #5536
Merged
Merged
Conversation
akrem-chabchoub
approved these changes
Jul 14, 2026
gacevicljubisa
approved these changes
Jul 20, 2026
martinconic
approved these changes
Jul 20, 2026
darkobas2
force-pushed
the
ci/swarm-cli-bee-version-bump
branch
from
July 20, 2026 13:59
8613b65 to
b3e2033
Compare
On a stable Bee release, dispatch swarm-cli's update-bee-version workflow (ethersphere/swarm-cli#760) with the release tag, so the Swarm CLI's pinned Bee version is bumped automatically via PR. Cross-repo dispatch uses the BEE_RUNNER GitHub App scoped to swarm-cli. Closes ethersphere/infra_tasks#91. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
darkobas2
force-pushed
the
ci/swarm-cli-bee-version-bump
branch
from
July 20, 2026 14:07
b3e2033 to
a7b0e6d
Compare
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.
Closes ethersphere/infra_tasks#91.
What
On a stable Bee release, dispatch swarm-cli's
update-bee-version.yamlworkflow (added in ethersphere/swarm-cli#760) with the release tag. That workflow bumpsbeeVersioninquickstart.tsand opens a PR on the Swarm CLI — removing the manual step.How
release: [released]→ stable only (skips drafts/pre-releases/RCs).github.event.release.tag_name(e.g.v2.9.0, matches their validator) as theversioninput.workflow_dispatchneeds more thanGITHUB_TOKEN, so it uses the BEE_RUNNER GitHub App (the same App swarm-cli's workflow uses), scoped toswarm-cli.workflow_dispatchadded too, so it can be tested/re-run manually with an explicit version.Note
Requires the BEE_RUNNER App to have
actions:writeon swarm-cli (to dispatch). If it doesn't, the manual test will show it and we can switch the token toGHA_PAT_ADVANCED(bee-worker already has write on swarm-cli).BEE_RUNNER_APP_ID/BEE_RUNNER_KEYare already visible to this repo.