File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Daily Sync of the csa branch
2+
3+ permissions :
4+ contents : write
5+
6+ on :
7+ schedule :
8+ - cron : " 0 0 * * *" # Runs once a day at midnight
9+
10+ jobs :
11+ sync :
12+ if : github.ref == 'refs/heads/main'
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - name : Checkout matter_sdk::csa branch
17+ uses : actions/checkout@v2
18+ with :
19+ repository : SiliconLabsSoftware/matter_sdk
20+ ref : csa
21+
22+ - name : Add CSA repository remote
23+ run :
24+ git remote add upstream
25+ https://github.com/project-chip/connectedhomeip.git
26+
27+ - name : Update the csa branch locally
28+ run : git pull upstream master
29+
30+ - name : Push the update csa branch to the remote
31+ run : |
32+ git push origin csa
33+ env :
34+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments