From 5cbc823a0894ba326eb3e55335ac5a1a3110043a Mon Sep 17 00:00:00 2001 From: Przemek Rzad Date: Mon, 26 Aug 2024 18:01:30 +0200 Subject: [PATCH 1/2] Update misc-sync-templates.yml --- .github/workflows/misc-sync-templates.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/misc-sync-templates.yml b/.github/workflows/misc-sync-templates.yml index c06beb5e98eb..0b8255cbd369 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,7 +39,7 @@ 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: path: polkadot-sdk @@ -48,13 +48,13 @@ jobs: 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 From cccd6c0c0da8a43f0d462733ba3c518e4cf7bbb6 Mon Sep 17 00:00:00 2001 From: Przemek Rzad Date: Tue, 10 Sep 2024 16:02:54 +0200 Subject: [PATCH 2/2] Update misc-sync-templates.yml --- .github/workflows/misc-sync-templates.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/misc-sync-templates.yml b/.github/workflows/misc-sync-templates.yml index 0b8255cbd369..5e9111e15623 100644 --- a/.github/workflows/misc-sync-templates.yml +++ b/.github/workflows/misc-sync-templates.yml @@ -42,6 +42,7 @@ jobs: 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