genshin-impact-helper/.github/workflows/sync.yml
2020-12-21 05:54:46 +00:00

21 lines
419 B
YAML

name: "Auto Sync Fork"
on:
schedule:
- cron: "0 16 * * *" # scheduled at 00:00 (UTC+8) everyday
workflow_dispatch:
jobs:
sync:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- name: Fork sync
uses: tgymnich/fork-sync@v1.2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
owner: y1ndan
base: master
head: master