Skip to content

Sync Fork

Sync Fork #48

Workflow file for this run

name: Sync Fork
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Sync
run: |
git remote add upstream https://github.com/ckb-ecofund/ccc.git
git pull
- name: Push
run: git push origin master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}