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+ name : Sync Upstream
2+
3+ on :
4+ schedule :
5+ - cron : ' 32 4 * * *'
6+ workflow_dispatch :
7+ push :
8+ branches :
9+ - main
10+
11+ jobs :
12+ sync :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : Checkout
16+ uses : actions/checkout@v3
17+ with :
18+ persist-credentials : false
19+
20+ - name : Set up Git
21+ run : |
22+ git config user.name "github-actions[bot]"
23+ git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
24+
25+ - name : Add upstream
26+ run : |
27+ git remote add upstream https://github.com/ton-blockchain/wallets-list.git
28+ git fetch upstream
29+
30+ - name : Rebase onto upstream
31+ run : |
32+ git checkout main
33+ git rebase upstream/main
34+
35+ - name : Push changes
36+ run : |
37+ git push origin main --force
38+ env :
39+ GITHUB_TOKEN : ${{ secrets.MY_TOKEN }}
You can’t perform that action at this time.
0 commit comments