Skip to content

Commit

Permalink
add github sync workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mat83 committed Jul 11, 2024
1 parent c2940b4 commit 54487d6
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/repo-sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Sync with foundries repo
on:
push:
branches:
- main
- devel
- next

jobs:
sync:
runs-on: ubuntu-latest
steps:

- name: Checkout source repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Sync repos
uses: foundriesio/mirror-action@master
with:
REMOTE: "https://source.foundries.io/factories/arduino/meta-partner-arduino.git"
GIT_ACCESS_TOKEN: ${{ secrets.FOUNDRIES_ACCESS_TOKEN }}
PUSH_ALL_REFS: "false"

0 comments on commit 54487d6

Please sign in to comment.