forked from sngxpro/AutoSyncScript
-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (27 loc) · 701 Bytes
/
id77.yml
File metadata and controls
28 lines (27 loc) · 701 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: id77-sync
on:
schedule:
- cron: '1 */3 * * *'
workflow_dispatch:
watch:
types: started
repository_dispatch:
types: sync-id77-QuantumultX
jobs:
repo-sync:
env:
PAT: ${{ secrets.PAT }}
runs-on: ubuntu-latest
if: github.event.repository.owner.id == github.event.sender.id
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: sync id77-QuantumultX
uses: repo-sync/github-sync@v2
if: env.PAT
with:
source_repo: "https://github.com/id77/QuantumultX.git"
source_branch: "master"
destination_branch: "id77"
github_token: ${{ secrets.PAT }}