| 1 | name: Check URLs |
| 2 | |
| 3 | on: [push] |
| 4 | |
| 5 | jobs: |
| 6 | build: |
| 7 | runs-on: ubuntu-latest |
| 8 | |
| 9 | steps: |
| 10 | - uses: actions/checkout@v4 |
| 11 | - name: urls-checker |
| 12 | uses: urlstechie/urlchecker-action@master |
| 13 | with: |
| 14 | # A subfolder or path to navigate to in the present or cloned repository |
| 15 | subfolder: doc |
| 16 | |
| 17 | # A comma-separated list of file types to cover in the URL checks |
| 18 | file_types: .md,.py,.rst |
| 19 | |
| 20 | # Choose whether to include file with no URLs in the prints. |
| 21 | print_all: false |
| 22 | |
| 23 | # The timeout seconds to provide to requests, defaults to 5 seconds |
| 24 | timeout: 5 |
| 25 | |
| 26 | # How many times to retry a failed request (each is logged, defaults to 1) |
| 27 | retry_count: 3 |
| 28 | |
| 29 | # A comma separated links to exclude during URL checks |
| 30 | exclude_urls: |
| 31 | |
| 32 | # A comma separated patterns to exclude during URL checks |
| 33 | exclude_patterns: |
| 34 | |
| 35 | # choose if the force pass or not |
| 36 | force_pass : true |