name: Sync Forks on: schedule: - cron: '0 */6 * * *' # Runs every 6 hours workflow_dispatch: jobs: sync: runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v4 with: python-version: '3.x' - name: Install dependencies run: | python -m pip install --upgrade pip pip install requests - name: Configure Git run: | git config --global user.email "notvoxel@tuta.io" git config --global user.name "voxeldownload" - name: Run sync script env: TOKEN: ${{ secrets.TOKEN }} run: python sync_forks.py