From 71573e7033dace7e17c4b4ab7b9a30c189ad14ab Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Sat, 12 Feb 2022 19:16:41 -0700 Subject: [PATCH] CI: correctly fetch full Git history for subrepo push Signed-off-by: Stephen Gutekanst --- .github/workflows/push_subrepos.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/push_subrepos.yml b/.github/workflows/push_subrepos.yml index 2105ecad..52382283 100644 --- a/.github/workflows/push_subrepos.yml +++ b/.github/workflows/push_subrepos.yml @@ -9,6 +9,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 + with: + # fetch full Git history, otherwise push-subrepos.sh would fail due to not being able to + # split the git subtree. + fetch-depth: 0 - name: 'Push recent commits to subrepositories' env: ACCESS_TOKEN: ${{ secrets.HEXOPS_MACH_PUSH_SUBREPOS }}