From 5ba6d0e5b137c1724441d0498625a2ef6bffac00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Nem=C5=9B?= Date: Mon, 15 Nov 2021 12:18:21 +0100 Subject: [PATCH] Add synchronization workflow with foundation repository (#190) --- .github/workflows/push-foundation-repo.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/push-foundation-repo.yml diff --git a/.github/workflows/push-foundation-repo.yml b/.github/workflows/push-foundation-repo.yml new file mode 100644 index 0000000000..4cef8d568e --- /dev/null +++ b/.github/workflows/push-foundation-repo.yml @@ -0,0 +1,17 @@ +name: Sync Cardinal-Cryptography repo with Aleph-Zero-Foundation repo + +on: + push: + branches: [main] + +jobs: + sync: + runs-on: ubuntu-latest + if: ${{ github.repository == 'Cardinal-Cryptography/aleph-node'}} + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + token: ${{ secrets.SYNCAZF }} + - name: Push to Aleph-Zero-Foundation + run: git push https://x-access-token:${{ secrets.SYNCAZF }}@github.com/aleph-zero-foundation/aleph-node.git