Skip to content

Commit 54487d6

Browse files
author
mat83
committed
add github sync workflow
1 parent c2940b4 commit 54487d6

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/repo-sync.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Sync with foundries repo
2+
on:
3+
push:
4+
branches:
5+
- main
6+
- devel
7+
- next
8+
9+
jobs:
10+
sync:
11+
runs-on: ubuntu-latest
12+
steps:
13+
14+
- name: Checkout source repository
15+
uses: actions/checkout@v4
16+
with:
17+
fetch-depth: 0
18+
19+
- name: Sync repos
20+
uses: foundriesio/mirror-action@master
21+
with:
22+
REMOTE: "https://source.foundries.io/factories/arduino/meta-partner-arduino.git"
23+
GIT_ACCESS_TOKEN: ${{ secrets.FOUNDRIES_ACCESS_TOKEN }}
24+
PUSH_ALL_REFS: "false"
25+

0 commit comments

Comments
 (0)