diff --git a/.github/workflows/misc-sync-templates.yml b/.github/workflows/misc-sync-templates.yml index c06beb5e98eb..5e9111e15623 100644 --- a/.github/workflows/misc-sync-templates.yml +++ b/.github/workflows/misc-sync-templates.yml @@ -3,9 +3,9 @@ name: Synchronize templates # This job is used to keep the repository templates up-to-date. # The code of the templates exist inside the monorepo, and upon releases we synchronize the repositories: -# - https://github.com/paritytech/polkadot-sdk-minimal-template -# - https://github.com/paritytech/polkadot-sdk-parachain-template -# - https://github.com/paritytech/polkadot-sdk-solochain-template +# - https://github.com/paritytech-stg/polkadot-sdk-minimal-template +# - https://github.com/paritytech-stg/polkadot-sdk-parachain-template +# - https://github.com/paritytech-stg/polkadot-sdk-solochain-template # # The job moves the template code out of the monorepo, # replaces any references to the monorepo workspace using psvm and toml-cli, @@ -39,22 +39,23 @@ jobs: - name: Configure git identity run: | git config --global user.name "Template Bot" - git config --global user.email "163342540+paritytech-polkadotsdk-templatebot[bot]@users.noreply.github.com" + git config --global user.email "163130811+polkadot-sdk-template-bot-stg[bot]@users.noreply.github.com" - uses: actions/checkout@v4 with: + repository: "paritytech/polkadot-sdk" path: polkadot-sdk ref: "${{ github.event.inputs.stable_release_branch }}" - name: Generate a token for the template repository id: app_token uses: actions/create-github-app-token@v1.9.3 with: - owner: "paritytech" + owner: "paritytech-stg" repositories: "polkadot-sdk-${{ matrix.template }}-template" app-id: ${{ secrets.TEMPLATE_APP_ID }} private-key: ${{ secrets.TEMPLATE_APP_KEY }} - uses: actions/checkout@v4 with: - repository: "paritytech/polkadot-sdk-${{ matrix.template }}-template" + repository: "paritytech-stg/polkadot-sdk-${{ matrix.template }}-template" path: "${{ env.template-path }}" token: ${{ steps.app_token.outputs.token }} - name: Install toml-cli