From be127575e9076fbe57bf33e44711d2eb058c1232 Mon Sep 17 00:00:00 2001 From: Lin Jiang Date: Fri, 6 Jan 2023 14:25:35 +0800 Subject: [PATCH] Cherry-pick #7078 into rc-v1.4.0 (#7079) ### Brief Summary Issue: # ### Brief Summary Co-authored-by: Proton --- .github/workflows/testing.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index a2d495138e8c3..dbc4b0dc5fc3a 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -349,6 +349,10 @@ jobs: runs-on: ${{ matrix.runsOn }} timeout-minutes: ${{ github.event.schedule != '0 18 * * *' && 90 || 180 }} steps: + - name: Workaround checkout Needed single revision issue + run: | + git submodule foreach 'git rev-parse HEAD > /dev/null 2>&1 || rm -rf $PWD' + - uses: actions/checkout@v3 with: fetch-depth: '0'