diff --git a/.github/workflows/regression_tests.yml b/.github/workflows/regression_tests.yml index 47423098830a..e59cf83e3b05 100644 --- a/.github/workflows/regression_tests.yml +++ b/.github/workflows/regression_tests.yml @@ -46,10 +46,13 @@ jobs: - name: Checkout Airbyte uses: actions/checkout@v4 - name: Check PAT rate limits - run: | - ./tools/bin/find_non_rate_limited_PAT \ - ${{ secrets.GH_PAT_BUILD_RUNNER_OSS }} \ - ${{ secrets.GH_PAT_BUILD_RUNNER_BACKUP }} + uses: Wandalen/wretry.action@v3.5.0 + with: + attempt_limit: 3 + command: | + ./tools/bin/find_non_rate_limited_PAT \ + ${{ secrets.GH_PAT_BUILD_RUNNER_OSS }} \ + ${{ secrets.GH_PAT_BUILD_RUNNER_BACKUP }} - name: Extract branch name [WORKFLOW DISPATCH] shell: bash if: github.event_name == 'workflow_dispatch'