Skip to content

ci: create chart tags and releases as the bee-releaser app - #240

Merged
darkobas2 merged 3 commits into
masterfrom
ci/chart-releaser-app-token
Nov 16, 2026
Merged

darkobas2 merged 3 commits into
masterfrom
ci/chart-releaser-app-token

Conversation

@darkobas2

@darkobas2 darkobas2 commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

chart-releaser now creates chart tags and releases as the bee-runner app instead of with the CR_TOKEN personal access token.

Why: after the 2026-11-09 supply chain incident, a ruleset will restrict tag creation to org owners and the bee-runner app, as on bee. With the personal token, chart releases would stop working once that ruleset is on.

Also:

  • all actions are pinned to a commit SHA
  • the app token only gets contents: write
  • the job sets permissions: contents: write explicitly (the checkout token pushes the index to gh-pages)

Before merging: the repo needs access to the BEE_RUNNER_KEY org secret (devops). After merging, CR_TOKEN can be deleted.


Update: tags are now created by the bee-releaser app, not bee-runner.
The bee-runner key is an org secret, so any workflow on any branch could read it and create tags without approval (thanks for the review). The new app's key is stored only in this repo's release / release-ci environment (RELEASE_APP_KEY, app id in vars.RELEASE_APP_ID). That environment only runs from the default branch, and for cut-release only after a second person approves. Tag rulesets will allow only org owners and this app.

Do not merge before devops has set up the environment (infra/ansible/github-release-app.yml).

…environment

The bee-runner key is an org secret, so any workflow on any branch can read it
and mint a token that creates tags, bypassing the approval. The new release app's
key lives only in this repo's release environment, which only runs from the
default branch (and, for cut-release, after a second person approves).
@darkobas2 darkobas2 changed the title ci: create chart tags and releases as the bee-runner app ci: create chart tags and releases as the bee-releaser app Nov 16, 2026
@darkobas2
darkobas2 merged commit 530f4db into master Nov 16, 2026
1 check passed
@darkobas2
darkobas2 deleted the ci/chart-releaser-app-token branch November 16, 2026 13:09
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.

1 participant