From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> This adds sync-repo which was part of https://github.com/bluez/actions/ but it gets disabled every 60 days due to inactivity. --- .github/workflows/sync-repo.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/sync-repo.yml diff --git a/.github/workflows/sync-repo.yml b/.github/workflows/sync-repo.yml new file mode 100644 index 000000000000..4b106ee4f68a --- /dev/null +++ b/.github/workflows/sync-repo.yml @@ -0,0 +1,29 @@ +name: Sync Repo +on: + schedule: + - cron: "*/5 * * * *" + +jobs: + bluez: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: bluez/action-sync-repo@master + with: + src_repo: 'https://git.kernel.org/pub/scm/bluetooth/bluez.git' + src_branch: 'master' + dest_repo: 'bluez/bluez' + dest_branch: 'master' + secret_token: ${{ secrets.ACTION_TOKEN }} + + bluetooth-next: + needs: bluez + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: bluez/action-sync-repo@master + with: + src_repo: 'https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git' + dest_repo: 'bluez/bluetooth-next' + for_upstream_branch: 'for-upstream' + secret_token: ${{ secrets.ACTION_TOKEN }} -- 2.49.0