Skip to content

Sync Fork

Sync Fork #2

Workflow file for this run

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