From a8772eb0af40405da7ed812f56902608eb5361bb Mon Sep 17 00:00:00 2001 From: Daniel Koepping Date: Thu, 28 May 2026 12:49:56 -0700 Subject: [PATCH] add retries to process-replay ref push (#38101) * add one retry to push replay refs * more retries --- .github/workflows/tests.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index e0dcac53a..bccc6b572 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -162,7 +162,7 @@ jobs: repository: commaai/ci-artifacts ssh-key: ${{ secrets.CI_ARTIFACTS_DEPLOY_KEY }} path: ${{ github.workspace }}/ci-artifacts - - name: Push refs + - name: Prepare refs if: github.repository == 'commaai/openpilot' && github.ref == 'refs/heads/master' working-directory: ${{ github.workspace }}/ci-artifacts run: | @@ -174,7 +174,13 @@ jobs: echo "${{ github.sha }}" > ref_commit git add . git commit -m "process-replay refs for ${{ github.repository }}@${{ github.sha }}" || echo "No changes to commit" - git push origin process-replay --force + - name: Push refs + if: github.repository == 'commaai/openpilot' && github.ref == 'refs/heads/master' + uses: nick-fields/retry@7152eba30c6575329ac0576536151aca5a72780e + with: + timeout_minutes: 2 + max_attempts: 3 + command: cd ${{ github.workspace }}/ci-artifacts && git push origin process-replay --force - name: Run regen if: false timeout-minutes: 4