diff --git a/.github/workflows/move-to-main-repo.yaml b/.github/workflows/move-to-main-repo.yaml index f31b8e0..2a854a9 100644 --- a/.github/workflows/move-to-main-repo.yaml +++ b/.github/workflows/move-to-main-repo.yaml @@ -20,8 +20,8 @@ jobs: id: generate-token uses: actions/create-github-app-token@v1 with: - app-id: ${{ vars.APP_ID }} - private-key: ${{ secrets.APP_PRIVATE_KEY }} + app-id: ${{ vars.MAIN_APP_ID }} + private-key: ${{ secrets.MAIN_APP_PRIVATE_KEY }} - name: Checkout repository uses: actions/checkout@v4 @@ -75,6 +75,7 @@ jobs: run: | git config --global user.email "github-actions@github.com" git config --global user.name "GitHub Actions" + git config -l | grep 'http\..*\.extraheader' | cut -d= -f1 | xargs -L1 git config --unset-all - name: Create PR if files found env: