Skip to content

ci: use GitHub STS for changelog generation instead of app credentials - #99

Merged
sds merged 1 commit into
mainfrom
ci/sts-release-bot
Aug 21, 2026
Merged

ci: use GitHub STS for changelog generation instead of app credentials#99
sds merged 1 commit into
mainfrom
ci/sts-release-bot

Conversation

@sds

@sds sds commented Aug 21, 2026

Copy link
Copy Markdown
Member

Summary

Replaces the release-bot GitHub App token minting in changelog-generate.yml with a github-sts token exchange:

  • Adds .github/sts/release.sts.yaml, a trust policy that lets jobs running in the release environment mint a short-lived token (contents + pull-requests write) scoped to this repository.
  • The generate job now grants id-token: write and fetches its token via STS instead of stored App credentials; the existing same-repo gating is unchanged.

Notes

The App credentials were never configured in this repository, so the changelog push step has been failing silently when reached. This change makes it functional.

Verified: actionlint and zizmor pass with no new findings, and the policy subject matches this repository's ID-annotated OIDC sub customization.

@sds
sds merged commit 5a06c07 into main Aug 21, 2026
8 checks passed
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