From 434292d0209ae9fab3eddda8eee60cf752c57a68 Mon Sep 17 00:00:00 2001 From: Justin Wood Date: Thu, 6 Jul 2023 11:43:14 -0700 Subject: [PATCH] Retrying checkout submodules (#27666) --- .github/actions/checkout-submodules/action.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/actions/checkout-submodules/action.yaml b/.github/actions/checkout-submodules/action.yaml index d5d4709ed3f37c..429fb1a5427011 100644 --- a/.github/actions/checkout-submodules/action.yaml +++ b/.github/actions/checkout-submodules/action.yaml @@ -11,6 +11,9 @@ inputs: runs: using: "composite" steps: - - name: Checkout submodules - shell: bash - run: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform ${{ inputs.platform }} ${{ inputs.extra-parameters }} + - uses: Wandalen/wretry.action@v1.3.0 + name: Checkout submodules + with: + command: scripts/checkout_submodules.py --allow-changing-global-git-config --shallow --platform ${{ inputs.platform }} ${{ inputs.extra-parameters }} + attempt_limit: 3 + attempt_delay: 2000