Skip to content

🔧 config(graph): mint the drift job's token from the GRAPHIFY_APP secrets - #1063

Merged
nstarman merged 1 commit into
mainfrom
chore/graphify-app-secrets
Dec 3, 2026
Merged

nstarman merged 1 commit into
mainfrom
chore/graphify-app-secrets

Conversation

@nstarman

@nstarman nstarman commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

The weekly graph-drift job (graphify.yml) now mints its token from GRAPHIFY_APP_ID and
GRAPHIFY_APP_PRIVATE_KEY, the organization secrets of the galacticdynamics-graphify-drift
GitHub 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.yml changes: the two secret names and the comment above them. The other workflows
(create-package-tags.yml, update-hooks.yml) and RELEASING.md still use RELEASE_APP_* for
their own jobs.

The org secrets are set and visible to this repository. This has not been run: GitHub only lets
workflow_dispatch start a workflow that is on the default branch, so dispatch graphify.yml once
after 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

@nstarman
nstarman requested a review from a team as a code owner December 3, 2026 00:34
Copilot AI lite review requested due to automatic review settings December 3, 2026 00:34
@github-actions github-actions Bot added 👷 Add / update CI build system Add or update CI build system. 🔧 Add / update configuration Add or update configuration files. labels Dec 3, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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-token inputs from secrets.RELEASE_APP_ID / secrets.RELEASE_APP_PRIVATE_KEY to secrets.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

codecov Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (a9fd495) to head (3be6a86).

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@nstarman nstarman added this to the v2.3.0 milestone Dec 3, 2026
@nstarman
nstarman merged commit ec1aaf4 into main Dec 3, 2026
40 checks passed
@nstarman
nstarman deleted the chore/graphify-app-secrets branch December 3, 2026 03:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

👷 Add / update CI build system Add or update CI build system. 🔧 Add / update configuration Add or update configuration files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants