ci(sync-docs): replace PAT with actions/create-github-app-token #226
All Vouch review confidence checks passed
Residual risk 0.23 = Change Risk (0.58) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.58 · 164 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.305
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.058
Real PR Conversation Timeline
1 comments
"Review active on #226"
general
weight: 0.35
mmanciop
Summary
The docs sync opened its pull request in the website repository with a personal access token (
DOCS_WEBSITE_PR_TOKEN). This replaces it with a short-lived installation token of the new GitHub App Dash0 Docs Sync (dash0-docs-sync), minted per run withactions/create-github-app-token.SYNC_DOCUMENTATION_TARGET_REPOSITORYsecret, so the name stays out of git) and to Contents and Pull requests (read and write).DOCS_SYNC_APP_CLIENT_ID, the private key from the organization secretDOCS_SYNC_APP_PRIVATE_KEY. Both are already shared with this repository.The same change for the operator: dash0hq/dash0-operator#1757. A test sync from there opened a PR authored by
dash0-docs-sync[bot], with CI and the Vercel preview running as before.Testing
After merging, run the sync workflow via
workflow_dispatchwith dry-run unchecked. The PR in the website repository should be authored bydash0-docs-sync[bot].Cleanup after merge
DOCS_WEBSITE_PR_TOKENand revoke the personal access token behind it.