From 7c4f91f04f4d26b52e68407b76e2710e5529764c Mon Sep 17 00:00:00 2001 From: jprochazk <1665677+jprochazk@users.noreply.github.com> Date: Thu, 1 Jun 2023 11:58:03 +0200 Subject: [PATCH 1/2] retry `linkinator` --- .github/workflows/documentation.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/documentation.yaml b/.github/workflows/documentation.yaml index 4f8c126071eb..d0af026a9792 100644 --- a/.github/workflows/documentation.yaml +++ b/.github/workflows/documentation.yaml @@ -24,8 +24,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: JustinBeckwith/linkinator-action@v1 + - uses: Wandalen/wretry.action@v1.0.36 with: - paths: "docs/**/*.md" - linksToSkip: "https://crates.io/crates/rerun" + action: JustinBeckwith/linkinator-action@v1 + with: | + paths: "docs/**/*.md" + linksToSkip: "https://crates.io/crates/rerun" + attempt_limit: 5 + attempt_delay: 2000 From 5aa6ab96130fc56d68d17e8dadf76425feda98fe Mon Sep 17 00:00:00 2001 From: jprochazk <1665677+jprochazk@users.noreply.github.com> Date: Thu, 1 Jun 2023 12:40:36 +0200 Subject: [PATCH 2/2] use forked `linkinator-action` with retry errors --- .github/workflows/documentation.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/documentation.yaml b/.github/workflows/documentation.yaml index d0af026a9792..c3080ab886f8 100644 --- a/.github/workflows/documentation.yaml +++ b/.github/workflows/documentation.yaml @@ -24,12 +24,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: Wandalen/wretry.action@v1.0.36 + - uses: jprochazk/linkinator-action@main with: - action: JustinBeckwith/linkinator-action@v1 - with: | - paths: "docs/**/*.md" - linksToSkip: "https://crates.io/crates/rerun" - attempt_limit: 5 - attempt_delay: 2000 + paths: "docs/**/*.md" + linksToSkip: "https://crates.io/crates/rerun" + retry: true + retryErrors: true + retryErrorsCount: 5 + retryErrorsJitter: 2000