From 877c1bcb2031fd69726ffa8c06a8a9d73fc1d61e Mon Sep 17 00:00:00 2001 From: Sammy Sidhu Date: Thu, 14 Sep 2023 14:52:14 -0600 Subject: [PATCH] [CHORE] add retries for broken link checker (#1378) * Enables broken link checker CI job to be retried --- .github/workflows/broken-link-checker.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/broken-link-checker.yml b/.github/workflows/broken-link-checker.yml index 5cec8574ef..77299f005d 100644 --- a/.github/workflows/broken-link-checker.yml +++ b/.github/workflows/broken-link-checker.yml @@ -10,12 +10,19 @@ on: jobs: check-links: + timeout-minutes: 45 runs-on: ubuntu-latest steps: - name: setup broken link checker run: npm install -g broken-link-checker - name: Check getdaft.io - run: blc https://www.getdaft.io -ro --exclude www.pytorch.org/ --exclude https://github.com/Eventual-Inc/Daft/ + uses: nick-fields/retry@v2 + with: + timeout_minutes: 10 + retry_wait_seconds: 60 + max_attempts: 3 + retry_on: error + command: blc https://www.getdaft.io -ro --exclude www.pytorch.org/ --exclude https://github.com/Eventual-Inc/Daft/ - name: Send Slack notification on failure uses: slackapi/slack-github-action@v1.24.0 if: failure()