Skip to content

Commit

Permalink
Update misc-sync-templates.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rzadp committed Aug 26, 2024
1 parent 178e699 commit 5cbc823
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/misc-sync-templates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 5cbc823

Please sign in to comment.