From 7e68491e64b106a1e50bdfff06ada58fcafafaf3 Mon Sep 17 00:00:00 2001 From: Heath C <51679588+heath-freenome@users.noreply.github.com> Date: Wed, 26 Nov 2025 18:12:44 -0800 Subject: [PATCH] Create sync-fork.yml --- .github/workflows/sync-fork.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/sync-fork.yml diff --git a/.github/workflows/sync-fork.yml b/.github/workflows/sync-fork.yml new file mode 100644 index 0000000000..700676efb5 --- /dev/null +++ b/.github/workflows/sync-fork.yml @@ -0,0 +1,27 @@ +name: Sync Fork +on: + schedule: + - cron: '0 0 * * 0' + workflow_dispatch: + +jobs: + sync: + runs-on: ubuntu-latest + steps: + - uses: actions/create-github-app-token@v1 + id: app-token + with: + app-id: ${{ secrets.APP_ID }} + private-key: ${{ secrets.APP_PRIVATE_KEY }} + + - uses: actions/checkout@v3 + with: + token: ${{ steps.app-token.outputs.token }} + fetch-depth: 0 + + - name: Sync with upstream + run: | + git remote add upstream https://github.com/rjsf-team/react-jsonschema-form.git + git fetch upstream + git merge upstream/main --ff-only + git push origin main