CI: automate pushing to subrepositories

Fixes #44

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-02-12 17:21:08 -07:00
parent 5e38f6773a
commit 51111d9134

18
.github/workflows/push_subrepos.yml vendored Normal file
View file

@ -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