From 8edd9403c31e1f676b7a9b16e3c8dfb5cbf101f5 Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Wed, 20 Nov 2024 12:56:27 -0500 Subject: [PATCH] .github: clang-tidy checks retry if failed --- .github/workflows/clang-tidy.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/clang-tidy.yml b/.github/workflows/clang-tidy.yml index a8cba7ce6bd7..69c2cbbc37e8 100644 --- a/.github/workflows/clang-tidy.yml +++ b/.github/workflows/clang-tidy.yml @@ -13,9 +13,11 @@ jobs: runs-on: ubuntu-latest container: px4io/px4-dev-clang:2021-09-08 steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v3 with: token: ${{secrets.ACCESS_TOKEN}} - - name: make clang-tidy-quiet - run: make clang-tidy-quiet + - uses: corrupt952/actions-retry-command@v1.0.7 + with: + command: make clang-tidy-quiet + max_attempts: 3