We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 755ad0b commit 9d41c14Copy full SHA for 9d41c14
.github/workflows/silabs-update-csa.yaml
@@ -0,0 +1,34 @@
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 }}
0 commit comments