From 21f442513c7d924e5ce02c82f9b7934b61903f59 Mon Sep 17 00:00:00 2001 From: Diego Russo Date: Thu, 23 Jan 2025 20:49:21 +0000 Subject: [PATCH] Implement retry on checkout. --- .github/workflows/reusable-ubuntu.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/reusable-ubuntu.yml b/.github/workflows/reusable-ubuntu.yml index aa8ba00f19d8ca..9bc66efa77bb08 100644 --- a/.github/workflows/reusable-ubuntu.yml +++ b/.github/workflows/reusable-ubuntu.yml @@ -34,9 +34,12 @@ jobs: PYTHONSTRICTEXTENSIONBUILD: 1 TERM: linux steps: - - uses: actions/checkout@v4 + - uses: Wandalen/wretry.action@master with: - persist-credentials: false + action: actions/checkout@v4 + attempt_limit: 3 + with: | + persist-credentials: false - name: Register gcc problem matcher run: echo "::add-matcher::.github/problem-matchers/gcc.json" - name: Install dependencies