Skip to content

Commit

Permalink
Merge pull request #146 from stakater/linkretry
Browse files Browse the repository at this point in the history
Rerun linkcheck if it fails
  • Loading branch information
rasheedamir authored Jan 30, 2025
2 parents 8140d3b + c699623 commit 88aadaf
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/pull_request_doc_qa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,18 @@ jobs:
- uses: actions/checkout@v4
with:
ref: ${{github.event.pull_request.head.sha}}
- name: Link check
uses: gaurav-nelson/github-action-markdown-link-check@v1
- name: Link checking with retries
uses: Wandalen/wretry.action@v3
with:
config-file: ${{inputs.MD_CONFIG}}
use-quiet-mode: 'yes'
use-verbose-mode: 'yes'
max-depth: 3
action: gaurav-nelson/github-action-markdown-link-check@v1
retry_condition: steps._this.conclusion == 'failure'
attempt_limit: 2
attempt_delay: 60000
with: |
config-file: ${{inputs.MD_CONFIG}}
use-quiet-mode: 'yes'
use-verbose-mode: 'yes'
max-depth: 3
spell_check:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 88aadaf

Please sign in to comment.