Skip to content

Commit 04d5e07

Browse files
fix(ci): use GitHub App token for cross-repo secret sync to PraisonAIUI
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 7543860 commit 04d5e07

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/sync-secrets-to-aiui.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,17 @@ jobs:
1010
sync:
1111
runs-on: ubuntu-latest
1212
steps:
13+
- name: Generate GitHub App Token
14+
id: app-token
15+
uses: actions/create-github-app-token@v1
16+
with:
17+
app-id: ${{ secrets.CLAUDE_APP_ID }}
18+
private-key: ${{ secrets.CLAUDE_APP_PRIVATE_KEY }}
19+
owner: MervinPraison
20+
1321
- name: Sync secrets to PraisonAIUI
1422
env:
15-
GH_TOKEN: ${{ secrets.SECRETS_ADMIN_PAT || secrets.GH_TOKEN }}
23+
GH_TOKEN: ${{ steps.app-token.outputs.token }}
1624
TARGET: MervinPraison/PraisonAIUI
1725
CLAUDE_APP_ID: ${{ secrets.CLAUDE_APP_ID }}
1826
CLAUDE_APP_PRIVATE_KEY: ${{ secrets.CLAUDE_APP_PRIVATE_KEY }}

0 commit comments

Comments
 (0)