From fceff58059f8211e523f7ce8d97dc4929e4b7f0d Mon Sep 17 00:00:00 2001 From: Sam Seay Date: Tue, 5 Sep 2023 12:19:12 +0800 Subject: [PATCH] Retry link retrieval on 429, fix the version of markdown-link-check (https://github.com/woocommerce/woocommerce-blocks/pull/10786) --- .../.github/workflows/check-doc-links-config.json | 3 ++- .../woocommerce-blocks/.github/workflows/check-doc-links.yml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/woocommerce-blocks/.github/workflows/check-doc-links-config.json b/plugins/woocommerce-blocks/.github/workflows/check-doc-links-config.json index d0360691b78..fef225697d5 100644 --- a/plugins/woocommerce-blocks/.github/workflows/check-doc-links-config.json +++ b/plugins/woocommerce-blocks/.github/workflows/check-doc-links-config.json @@ -19,5 +19,6 @@ { "pattern": "https://www.php.net/manual/en/install.php" } - ] + ], + "retryOn429": true } diff --git a/plugins/woocommerce-blocks/.github/workflows/check-doc-links.yml b/plugins/woocommerce-blocks/.github/workflows/check-doc-links.yml index 058b2fb3747..0bc694a4131 100644 --- a/plugins/woocommerce-blocks/.github/workflows/check-doc-links.yml +++ b/plugins/woocommerce-blocks/.github/workflows/check-doc-links.yml @@ -25,7 +25,7 @@ jobs: cache: 'npm' - name: Install markdown-link-check - run: npm install -g markdown-link-check + run: npm install -g markdown-link-check@3.11.2 - name: Run markdown-link-check run: |