Sync the forked repo with the upstream #122
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This Workflow is not supposed to run in the paritytech/polkadot-sdk repo. | |
# This Workflow is supposed to run only in the forks of the repo, | |
# paritytech-release/polkadot-sdk specifically, | |
# to automatically maintain the critical fork synced with the upstream. | |
# This Workflow should be always disabled in the paritytech/polkadot-sdk repo. | |
name: Sync the forked repo with the upstream | |
on: | |
schedule: | |
- cron: "0 0/4 * * *" | |
workflow_dispatch: | |
jobs: | |
job_sync_branches: | |
uses: paritytech-release/sync-workflows/.github/workflows/sync-with-upstream.yml@main | |
with: | |
fork_writer_app_id: ${{ vars.UPSTREAM_CONTENT_SYNC_APP_ID}} | |
fork_owner: ${{ vars.RELEASE_ORG}} | |
secrets: | |
fork_writer_app_key: ${{ secrets.UPSTREAM_CONTENT_SYNC_APP_KEY }} |