Repository navigation
feat(github): write a Renovate App installation token to a file - #5994
Merged
Merged
Conversation
Owner
Author
|
Owner steps after the merge (#4893 owner steps 1 to 3). Only a person does these steps.
The Fail-to-Pass Check now skips |
dan-petty
force-pushed
the
feat/4897-renovate-app-token
branch
from
November 16, 2026 17:25
7b3d987 to
2903d27
Compare
Add `devops gh app-token --app renovate --write <path>`. It mints an installation token of the Renovate GitHub App through the existing gidgethub minting code, asks only for the 9 Renovate permissions, and writes the token to the file with mode 0600. It never prints the token. `renovate.github_app_id` takes the App ID or the Client ID. Fail-to-Pass Check now skips `dan-petty-renovate[bot]`, the name that the owner gave the App on 2026-11-16. Refs #4897
dan-petty
force-pushed
the
feat/4897-renovate-app-token
branch
from
November 16, 2026 17:36
2903d27 to
2194728
Compare
dan-petty
marked this pull request as ready for review
November 16, 2026 17:46
dan-petty
pushed a commit
that referenced
this pull request
Nov 16, 2026
🤖 I have created a release *beep* *boop* --- ## [0.166.0](v0.165.2...v0.166.0) (2026-11-16) ### Features * **ai:** Route DeepSeek calls around a stalled provider ([#5995](#5995)) ([183a75a](183a75a)) * **github:** write a Renovate App installation token to a file ([#5994](#5994)) ([b2c6264](b2c6264)), closes [#4897](#4897) * **roadmap:** Check each PR attribute in the open step ([#5981](#5981)) ([69bf1aa](69bf1aa)) * **roadmap:** Retry a refused pull request body once ([#5929](#5929)) ([8ebf3ce](8ebf3ce)) * **roadmap:** show a stopped item's class and next action ([#5946](#5946)) ([4bd6128](4bd6128)) ### Bug Fixes * **ci:** Pin the devcontainer feature releases ([#5936](#5936)) ([efbfc05](efbfc05)) * **roadmap:** Keep the Planned limit in the stage job ([#5940](#5940)) ([4758ddd](4758ddd)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add
devops gh app-token --app renovate --write <path>for self-hosted Renovate (#4893). Renovate takes only a GitHub App installation token, which GitHub ends after 1 hour. The command reuses the gidgethub minting code of the Service App, asks only for the 9 Renovate permissions, and writes the token with mode 0600. It never prints or logs the token.--dry-runsends no request and shows the token as a placeholder. A setting that is not set gives an error that names the setting and its variable.It reads
renovate.github_app_id(the App ID or the Client ID),renovate.github_app_installation_idand the credentialrenovate.github_app_private_key.The owner named the App
dan-petty-renovate(2026-11-16), so Fail-to-Pass Check skipsdan-petty-renovate[bot].After the merge, the owner creates and installs the App and sets the 3 settings with
devops config set(#4893 owner steps 1 to 3).Closes #4897
Change:
openspec/changes/archive/2026-11-16-4897-renovate-app-token/