Skip to content

ci: use a bee-runner App token for release-please - #531

Merged
darkobas2 merged 1 commit into
masterfrom
ci/app-token-release-please
Sep 10, 2026
Merged

ci: use a bee-runner App token for release-please#531
darkobas2 merged 1 commit into
masterfrom
ci/app-token-release-please

Conversation

@darkobas2

Copy link
Copy Markdown
Contributor

release_github.yaml has been broken since at least 17 Aug because of Bad credentials. The GHA_PAT_ADVANCED org secret is no longer working. It was shared with this repo correctly; the stored token itself is dead. This is the same fix as bee-docs#843.

This change creates a short-lived token from the bee-runner App. It works only on this repo and can read and write contents, pull requests, and issues. We need the issues permission for release-please's autorelease: labels.

We use an App token instead of GITHUB_TOKEN because the publish_* workflows run when a release is created. GITHUB_TOKEN releases don't trigger this event.

GHA_PAT_ADVANCED holds a dead token (401 Bad credentials). Mint a
short-lived bee-runner App token scoped to this repo instead, with
contents, pull-requests and issues write.
@darkobas2
darkobas2 requested a review from Cafe137 as a code owner September 10, 2026 20:20
@darkobas2
darkobas2 merged commit 2d3430a into master Sep 10, 2026
3 checks passed
@darkobas2
darkobas2 deleted the ci/app-token-release-please branch September 10, 2026 20:24
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