Skip to content

Broken Links Checker #882

Broken Links Checker

Broken Links Checker #882

# This file was generated by Project Keeper.
name: Broken Links Checker
on:
schedule:
- {
cron: 0 5 * * 0
}
workflow_dispatch: null
jobs:
linkChecker:
runs-on: ubuntu-latest
permissions: {
contents: read
}
defaults:
run: {
shell: bash
}
concurrency: {
group: '${{ github.workflow }}-${{ github.ref }}',
cancel-in-progress: true
}
steps:
- id: checkout
uses: actions/checkout@v6
with: {
persist-credentials: false
}
- id: configure-broken-links-checker
name: Configure broken links checker
run: |
mkdir -p ./target
echo '{"aliveStatusCodes": [429, 200], "ignorePatterns": [' \
'{"pattern": "^https?://(www|dev).mysql.com/"},' \
'{"pattern": "^https?://(www.)?opensource.org"}' \
'{"pattern": "^https?://(www.)?eclipse.org"}' \
'{"pattern": "^https?://projects.eclipse.org"}' \
']}' > ./target/broken_links_checker.json
- id: run-broken-links-checker
uses: tcort/github-action-markdown-link-check@e7c7a18363c842693fadde5d41a3bd3573a7a225
with: {
use-quiet-mode: yes,
use-verbose-mode: yes,
config-file: ./target/broken_links_checker.json
}