ci: dispatch event to create-swarm-app when released#1157
Open
slapec93 wants to merge 6 commits into
Open
Conversation
Contributor
|
0094b25 to
6a13658
Compare
darkobas2
reviewed
May 14, 2026
Contributor
darkobas2
left a comment
There was a problem hiding this comment.
One nit on the trigger filter:
on:
release:
types: [published]This fires on pre-releases and drafts too — so RC tags will dispatch into create-swarm-app and open auto-bump PRs against unstable versions. If that's not desired, gate the job:
jobs:
dispatch:
if: github.event.release.prerelease == false && github.event.release.draft == falseArchitecture (App + dispatch + scoped token) looks good. The bigger concerns are on the receiver side (#13).
Contributor
|
Heads up — the org already has the App's identifiers + key stored as organization secrets, no need to provision new repo-level ones:
Update the workflow to reference those instead of - uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.BEE_RUNNER_CLIENT_ID }}
private-key: ${{ secrets.BEE_RUNNER_KEY }}
repositories: create-swarm-appOne less secret to provision per consuming repo. |
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.
When we release a new version, dispatch an event to
create-swarm-apprepository, so it opens a PR to bump Bee.js version to latest