diff --git a/.github/workflows/Sync-Fork.yaml b/.github/workflows/Sync-Fork.yaml new file mode 100644 index 0000000..cdd42d0 --- /dev/null +++ b/.github/workflows/Sync-Fork.yaml @@ -0,0 +1,16 @@ +name: Automatic Sync fork +on: + schedule: + - cron: '0 0 */15 * *' + workflow_dispatch: { } +jobs: + sync: + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - run: gh repo sync $REPOSITORY -b $BRANCH_NAME + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + REPOSITORY: ${{ github.repository }} + BRANCH_NAME: ${{ github.ref_name }} \ No newline at end of file