Check Links #227
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: | |
repository_dispatch: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- develop | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
linkChecker: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
## Recursively check all markdown and yaml files for broken links | |
## Ref: https://github.com/lycheeverse/lychee#commandline-parameters | |
- name: Link Checker | |
id: lychee | |
uses: lycheeverse/lychee-action@v2 | |
with: | |
fail: true | |
debug: false | |
args: --verbose --include-fragments --no-progress --base . -E './**/*.md' './**/*.yaml' './**/*.yml' |