Skip to content

ci: Release Please opens the release PR with the org's release App - #33

Merged
AlexeyShalaev merged 1 commit into
masterfrom
ci/release-app-token
Oct 18, 2026
Merged

AlexeyShalaev merged 1 commit into
masterfrom
ci/release-app-token

Conversation

@AlexeyShalaev

Copy link
Copy Markdown
Member

The one part of the python-library-template release fixes that applies here. touchmark's publish.yml and gate already have their own equivalents of the rest.

Release Please ran with GITHUB_TOKEN, and GitHub holds the CI run of a pull request opened or updated with that token, so the release PR never got its required check until someone closed and reopened it. It now mints a token of the org's release App (bedrock-python-release, set up today: org variable RELEASE_PLEASE_APP_CLIENT_ID, org secret RELEASE_PLEASE_APP_PRIVATE_KEY), scoped to contents and pull requests. If the variable is unset it falls back to GITHUB_TOKEN and warns. The step is the template's (bedrock-python/python-library-template#23), with the action pinned by SHA like the rest of this repo's workflows.

Nothing else listens to the releases or tags this creates: publish.yml is still triggered by workflow_run of Release Please, so the App's token does not add a second trigger.

Checked: actionlint 1.7.12 (the CI image) is clean. The same token step ran green in pg-partsmith's Release Please today (run 39071978602).

With GITHUB_TOKEN the release PR's CI run is held and never starts, so it
needed a close and reopen before every merge. The token now comes from
the org's release App (bedrock-python/python-library-template#23), with
GITHUB_TOKEN and a warning as the fallback while the App's variable is
unset.
@AlexeyShalaev
AlexeyShalaev merged commit 15be42d into master Oct 18, 2026
22 checks passed
@AlexeyShalaev
AlexeyShalaev deleted the ci/release-app-token branch October 18, 2026 07:07
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