Skip to content

Commit

Permalink
block linkedin properly.
Browse files Browse the repository at this point in the history
  • Loading branch information
MaanavD committed Dec 10, 2024
1 parent 0b109b5 commit 0ddcb8d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/check-website-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0ddcb8d

Please sign in to comment.