Skip to content

Sync Fork

Sync Fork #51

Workflow file for this run

name: Sync Fork
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
env:
UPSTREAM_REPO: https://github.com/Lourdle/cosyvoice.cpp.git
jobs:
sync:
runs-on: ubuntu-latest
permissions:
contents: write
actions: write
steps:
- name: Checkout fork
uses: actions/checkout@v6
with:
token: ${{ secrets.SYNC_TOKEN }}
fetch-depth: 0
- name: Sync fork using GitHub CLI
env:
GH_TOKEN: ${{ secrets.SYNC_TOKEN }}
run: |
gh repo sync ${{ github.repository }} --branch main