Skip to content

Add github action to check urls are valid #1

Add github action to check urls are valid

Add github action to check urls are valid #1

Workflow file for this run

name: Check URLs
on:
push:
branches: [ "main", rel-* ]
pull_request:
branches: [ "main", rel-* ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: urls-checker-code
uses: urlstechie/urlchecker-action@master
with:
subfolder: onnx
file_types: .md,.py,.rst,.ipynb,.cc,.h,.cpp
print_all: false
timeout: 2
retry_count# : 2
# exclude_urls: https://...,...
# exclude_patterns: https://...
force_pass: true # make the action pass until we fix urls
- name: urls-checker-docs
uses: urlstechie/urlchecker-action@master
with:
subfolder: docs
file_types: .md,.py,.rst,.ipynb,.cc,.h,.cpp
print_all: false
timeout: 2
retry_count# : 2
# exclude_urls: https://...,...
# exclude_patterns: https://...
force_pass: true # make the action pass until we fix urls
- name: urls-checker-community
uses: urlstechie/urlchecker-action@master
with:
subfolder: community
file_types: .md,.py,.rst
print_all: false
timeout: 2
retry_count# : 2
# exclude_urls: https://...,...
# exclude_patterns: https://...
force_pass: true # make the action pass until we fix urls