diff --git a/.github/workflows/linkchecker.yml b/.github/workflows/linkchecker.yml new file mode 100644 index 00000000..bd127141 --- /dev/null +++ b/.github/workflows/linkchecker.yml @@ -0,0 +1,24 @@ +name: markdown-link-check + +on: + push: + paths: + - documentos/proyecto/*.md + - mlc_config.json + schedule: + - cron: '8 8 * * 2' + +jobs: + markdown-link-check: + name: Check markdown files for broken links + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Markdown links check + uses: ruzickap/action-my-markdown-link-checker@v1 + with: + config_file: mlc_config.json + debug: true + search_paths: | + documentos/proyecto/ diff --git a/mlc_config.json b/mlc_config.json new file mode 100644 index 00000000..28ad1ab6 --- /dev/null +++ b/mlc_config.json @@ -0,0 +1,7 @@ +{ + "timeout": "20s", + "retryOn429": true, + "retryCount": 5, + "fallbackRetryDelay": "30s", + "aliveStatusCodes": [200, 206] +}