mach/.github/workflows/push_subrepos.yml
Stephen Gutekanst 6e5b3e393c CI: authenticate pushes to subrepositories properly
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-12 18:07:27 -07:00

18 lines
467 B
YAML

name: Push to subrepositories
on:
push:
branches:
- 'main'
jobs:
push:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: 'Push recent commits to subrepositories'
env:
ACCESS_TOKEN: ${{ secrets.HEXOPS_MACH_PUSH_SUBREPOS }}
run: |
git config user.name 'Repository synchronization automation'
git config user.email 'stephen@hexops.com'
./dev/push-subrepos.sh