Add shared get-github-token.sh for all agents
Single script at repo root that auto-detects GITHUB_APP_ID_* and GITHUB_PEM_PATH_* env vars, generates a JWT, and exchanges it for a GitHub App installation token. Contains no secrets. Updated all heartbeats to reference the absolute path. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -38,7 +38,7 @@ This repo (`/paperclip/privilegedescalation`) is the canonical source of truth f
|
||||
|
||||
#### 4a. Authenticate with GitHub and pull latest
|
||||
|
||||
export GH_TOKEN=$(bash ./get-github-token.sh)
|
||||
export GH_TOKEN=$(bash /paperclip/privilegedescalation/get-github-token.sh)
|
||||
git -C /paperclip/privilegedescalation pull origin main
|
||||
|
||||
#### 4b. Detect changes since last sync
|
||||
|
||||
Reference in New Issue
Block a user