From d8066b7552401844b1b01a0a6e0fe83208256aed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Garillot?= Date: Tue, 4 Jun 2024 14:52:29 -0400 Subject: [PATCH] ci: set up 15-min sync from upstream --- .github/workflows/repo-sync.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/repo-sync.yml diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml new file mode 100644 index 000000000..1ddaba935 --- /dev/null +++ b/.github/workflows/repo-sync.yml @@ -0,0 +1,20 @@ +on: + schedule: + - cron: "*/15 * * * *" + workflow_dispatch: + +jobs: + repo-sync: + name: Sync changes from upstream SP1 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + persist-credentials: false + - name: repo-sync + uses: repo-sync/github-sync@v2 + with: + source_repo: "https://github.com/Plonky3/Plonky3.git" + source_branch: "main" + destination_branch: "main" + github_token: ${{ secrets.GITHUB_TOKEN }}