Create main.yml

Signed-off-by: Ryananana <36809659+Ryananana@users.noreply.github.com>
This commit is contained in:
Ryananana 2024-05-20 15:23:44 +08:00 committed by GitHub
parent 24cfb1f4ce
commit 95a8421fb3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

18
.github/workflows/main.yml vendored Normal file
View File

@ -0,0 +1,18 @@
name: Sync Fork
on:
schedule:
- cron: '*/30 * * * *' # every 30 minutes
workflow_dispatch: # on button click
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: tgymnich/fork-sync@v1.8
with:
owner: SagerNet
base: master
head: master