Skip to content

feat(dashboard): Connect copies gh token into GH_GLOBAL - #993

Merged
aaronjmars merged 1 commit into
mainfrom
dashboard/github-connect
Aug 30, 2026
Merged

feat(dashboard): Connect copies gh token into GH_GLOBAL#993
aaronjmars merged 1 commit into
mainfrom
dashboard/github-connect

Conversation

@aaronjmars

Copy link
Copy Markdown
Collaborator

What

Settings -> GH_GLOBAL gets a Connect chip, same shape as Claude/Grok.

Clicking it copies this machine's gh auth token (gho_, or a PAT if that is what gh is using) into the GH_GLOBAL Actions secret. No extra browser flow. GitHub CLI OAuth tokens do not expire, so there is no refresh job.

Set still pastes a classic PAT. CLI twin: aeon auth --github.

Why

Operators already had to gh auth login to run the dashboard. That token is what Actions needs for cross-repo write. Paste-a-PAT was the only path.

Test

  • apps/dashboard unit tests (parseGhAuthToken)
  • Live on a private scratch instance (aaronjmars/aeon-tmp): Connect wrote GH_GLOBAL, heartbeat skill-runner checked out with it and went green

Settings GH_GLOBAL gets a Connect chip like Claude/Grok. It runs
gh auth token and stores the gho_ (or PAT) as the Actions secret.
No extra browser flow and no refresh job: GitHub CLI OAuth tokens
do not expire. Set still pastes a classic PAT. CLI: aeon auth --github.
@aaronjmars
aaronjmars merged commit 4738f27 into main Aug 30, 2026
4 checks passed
@aaronjmars
aaronjmars deleted the dashboard/github-connect branch August 30, 2026 20:11
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.

1 participant