Skip to content

Commit

Permalink
[CHORE] add retries for broken link checker (#1378)
Browse files Browse the repository at this point in the history
* Enables broken link checker CI job to be retried
  • Loading branch information
samster25 authored Sep 14, 2023
1 parent cda7e4a commit 877c1bc
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/broken-link-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
if: failure()
Expand Down

0 comments on commit 877c1bc

Please sign in to comment.