diff --git a/.github/workflows/check-website-links.yml b/.github/workflows/check-website-links.yml index b32f77f07cdc6..64293b927f79b 100644 --- a/.github/workflows/check-website-links.yml +++ b/.github/workflows/check-website-links.yml @@ -42,12 +42,11 @@ jobs: - name: Check for broken links run: | bundle exec htmlproofer ./_site \ - --assume_extension \ --only_4xx \ --ignore-status-codes 429,403 \ --allow_hash_href \ --allow_missing_href \ - --ignore_urls "^https://linkedin.com,https://onnxruntime.ai/docs/reference/api/c-api.html,https://www.onnxruntime.ai/docs/reference/execution-providers/TensorRT-ExecutionProvider.html#c-api-example,https://www.onnxruntime.ai/docs/resources/graph-optimizations.html,onnxruntime/capi/onnxruntime_pybind11_state.html,https://github.com/microsoft/onnx-converters-private/issues/new/choose,https://aka.ms/onnx/exportissue,https://aka.ms/onnx/board" \ + --ignore_urls "/.*linkedin\.com.*/,https://onnxruntime.ai/docs/reference/api/c-api.html,https://www.onnxruntime.ai/docs/reference/execution-providers/TensorRT-ExecutionProvider.html#c-api-example,https://www.onnxruntime.ai/docs/resources/graph-optimizations.html,onnxruntime/capi/onnxruntime_pybind11_state.html,https://github.com/microsoft/onnx-converters-private/issues/new/choose,https://aka.ms/onnx/exportissue,https://aka.ms/onnx/board" \ --no-check-external-hash # - name: Check for broken links # uses: chabad360/htmlproofer@master