Repository navigation
🔧 config(graph): mint the drift job's token from the GRAPHIFY_APP secrets - #1063
Conversation
There was a problem hiding this comment.
🟢 Approval recommended
The change is a straightforward update to the graphify.yml workflow to use the dedicated GRAPHIFY_APP_* organization secrets (with a matching comment update), and the provided review evidence indicates no remaining issues to address.
No open issues 🎉
What changed in this PR
Updates the weekly graphify.yml drift-check workflow to mint its GitHub App token from the dedicated GRAPHIFY_APP_* organization secrets (for the galacticdynamics-graphify-drift GitHub App), rather than reusing the release bot’s RELEASE_APP_* secrets. This keeps the graph-drift automation scoped to a purpose-built App and avoids sharing the release bot credentials across multiple repositories.
Changes:
- Switched
actions/create-github-app-tokeninputs fromsecrets.RELEASE_APP_ID/secrets.RELEASE_APP_PRIVATE_KEYtosecrets.GRAPHIFY_APP_ID/secrets.GRAPHIFY_APP_PRIVATE_KEY. - Updated the workflow comment to reflect the new secret names and the intended GitHub App.
| File | Description |
|---|---|
.github/workflows/graphify.yml |
Uses GRAPHIFY_APP_* org secrets to mint the GitHub App token used to open graph drift PRs. |
Review effort: Lite
Copilot was unable to complete this review at the selected tier due to model policy or plan restrictions.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1063 +/- ##
===========================================
+ Coverage 99.85% 100.00% +0.14%
===========================================
Files 93 48 -45
Lines 4827 2890 -1937
Branches 454 197 -257
===========================================
- Hits 4820 2890 -1930
+ Misses 4 0 -4
+ Partials 3 0 -3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
The weekly graph-drift job (
graphify.yml) now mints its token fromGRAPHIFY_APP_IDandGRAPHIFY_APP_PRIVATE_KEY, the organization secrets of thegalacticdynamics-graphify-driftGitHub App, instead of the release bot's
RELEASE_APP_*. The App has "Contents: Read and write" and"Pull requests: Read and write" and nothing else, and is installed on seven repositories, so every
repository that has this job reads the same two secret names and the release bot's key is no longer
used to open graph pull requests.
Only
graphify.ymlchanges: the two secret names and the comment above them. The other workflows(
create-package-tags.yml,update-hooks.yml) andRELEASING.mdstill useRELEASE_APP_*fortheir own jobs.
The org secrets are set and visible to this repository. This has not been run: GitHub only lets
workflow_dispatchstart a workflow that is on the default branch, so dispatchgraphify.ymlonceafter merging. Its first step, "Mint a GitHub App token", should succeed.
The branch commit is made through the API and is not signed; squash-merge it, and GitHub signs the
squash commit that lands on
main.🤖 Generated with Claude Code