Link Check #1448
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
# This link check is run on all content files once per day. | |
# from: https://github.com/lycheeverse/lychee-action | |
# link checker used is 'lychee': https://github.com/lycheeverse/lychee | |
name: Link Check | |
on: | |
schedule: | |
# * is a special character in YAML so you have to quote this string | |
- cron: '30 8 * * 5' | |
jobs: | |
linkChecker: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Restore lychee cache | |
uses: actions/cache@v4 | |
with: | |
path: .lycheecache | |
key: cache-lychee-${{ github.sha }} | |
restore-keys: cache-lychee- | |
- name: Link Checker | |
uses: lycheeverse/[email protected] | |
with: | |
args: --verbose --no-progress --exclude-mail --cache --max-cache-age 1d README.md patterns/ book/ translation/ | |
fail: true | |
jobSummary: true | |
env: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |