Advanced module #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check Links | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
markdown-link-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3.5.2 | |
- uses: gaurav-nelson/github-action-markdown-link-check@v1 | |
with: | |
# links that are okay (http status returns 200) will not be shown | |
use-quiet-mode: 'yes' | |
# showing the details on links returning error | |
use-verbose-mode: 'yes' | |
# Custom config just ignores crates.io links because they are always false positive | |
config-file: '.github/workflows/mlc_config.json' |