diff --git a/.github/workflows/docs-sync-auto-troubleshooting.yml b/.github/workflows/docs-sync-auto-troubleshooting.yml index bb315d0607b..333f14f173f 100644 --- a/.github/workflows/docs-sync-auto-troubleshooting.yml +++ b/.github/workflows/docs-sync-auto-troubleshooting.yml @@ -59,9 +59,16 @@ jobs: repository: supabase/troubleshooting path: troubleshooting-upstream + - name: Generate PR token + id: pr-token + uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1 + with: + app-id: ${{ secrets.GH_AUTOFIX_APP_ID }} + private-key: ${{ secrets.GH_AUTOFIX_PRIVATE_KEY }} + - name: Sync supabase/troubleshooting changes back to supabase/supabase env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_TOKEN: ${{ steps.pr-token.outputs.token }} run: | git config user.name 'github-docs-bot' git config user.email 'github-docs-bot@supabase.com'