From 51111d91341662c7021b94c542e9446810e3b0c5 Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Sat, 12 Feb 2022 17:21:08 -0700 Subject: [PATCH] CI: automate pushing to subrepositories Fixes #44 Signed-off-by: Stephen Gutekanst --- .github/workflows/push_subrepos.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/push_subrepos.yml diff --git a/.github/workflows/push_subrepos.yml b/.github/workflows/push_subrepos.yml new file mode 100644 index 00000000..250dcec2 --- /dev/null +++ b/.github/workflows/push_subrepos.yml @@ -0,0 +1,18 @@ +name: Push to subrepositories +on: + push: + branches: + - 'main' +jobs: + push: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + token: ${{ secrets.HEXOPS_MACH_PUSH_SUBREPOS }} + - name: 'gpu/dawn: use latest binary release' + run: | + git config user.name 'Repository synchronization automation' + git config user.email 'stephen@hexops.com' + ./dev/push-subrepos.sh