Skip to content

ci: use GitHub App tokens instead of a personal access token (0-32-0) - #135

Merged
desimone merged 1 commit into
0-32-0from
desimone/ci-github-app-token-0-32-0
Oct 22, 2026
Merged

desimone merged 1 commit into
0-32-0from
desimone/ci-github-app-token-0-32-0

Conversation

@desimone

Copy link
Copy Markdown
Contributor

Summary

CI now authenticates with short-lived GitHub App installation tokens instead of a long-lived personal access token. Each job requests its token right before it needs one, limited to the repositories and permissions that job uses. Tokens expire after one hour. Commits made by automation are attributed to the app's bot account.

This follows GitHub's recommended practice for automation: no long-lived user credentials, least privilege per job, and short token lifetimes.

AI disclosure

Claude Code wrote this change and checked the workflows with actionlint.

@desimone
desimone requested a review from a team as a code owner October 22, 2026 04:55
@desimone
desimone requested review from kenjenkins and removed request for a team October 22, 2026 04:55
@desimone
desimone enabled auto-merge (squash) October 22, 2026 04:57
@desimone
desimone force-pushed the desimone/ci-github-app-token-0-32-0 branch from a8c9e66 to 78dbb93 Compare October 22, 2026 05:36
Each job requests a short-lived installation token scoped to the repositories and permissions it uses. Jobs that run branch or dependency code use a read-only app.
@desimone
desimone force-pushed the desimone/ci-github-app-token-0-32-0 branch from 78dbb93 to 676bf11 Compare October 22, 2026 05:40
@desimone
desimone merged commit 38b7f2d into 0-32-0 Oct 22, 2026
9 checks passed
@desimone
desimone deleted the desimone/ci-github-app-token-0-32-0 branch October 22, 2026 11:54
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.

2 participants