File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ # This is a basic workflow to help you get started with Actions
2+
3+ name : Merge-upstream
4+
5+ # Controls when the action will run. Triggers the workflow on push or pull request
6+ # events but only for the master branch
7+ on :
8+ # push:
9+ # branches:
10+ # - master
11+ schedule :
12+ - cron : 0 7 * * 2
13+
14+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
15+ jobs :
16+ merge :
17+
18+ runs-on : ubuntu-latest
19+
20+ steps :
21+
22+ - name : Checkout
23+ uses : actions/checkout@master
24+ with :
25+ ref : master
26+ fetch-depth : 0
27+ lfs : true
28+
29+ - name : Set git identity
30+ run : |
31+ git config --global user.email "edgetoo.163.com"
32+ git config --global user.name "Edgetoo"
33+ - name : Load upstream commits
34+ run : git pull https://github.com/ngosang/trackerslist.git --no-edit --strategy-option ours
35+
36+ - name : Push Commits
37+ env :
38+ DOWNSTREAM_BRANCH : master
39+ run : git push origin $DOWNSTREAM_BRANCH
You can’t perform that action at this time.
0 commit comments