Valid Links #113
This file contains hidden or 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: Valid Links | |
| on: | |
| repository_dispatch: | |
| workflow_dispatch: | |
| schedule: | |
| # Run once a week | |
| - cron: "0 0 * * 0" | |
| permissions: | |
| contents: read | |
| issues: write | |
| jobs: | |
| link-checker: | |
| name: Check Link Validity | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v7.0.0 | |
| with: | |
| persist-credentials: false | |
| - name: Run Lychee | |
| uses: lycheeverse/lychee-action@v2 | |
| with: | |
| args: "--no-progress --config web/.lychee.toml ." | |
| - name: Create Issue From File | |
| if: env.lychee_exit_code != 0 | |
| uses: peter-evans/create-issue-from-file@v6 | |
| with: | |
| title: Link Checker Report | |
| content-filepath: ./lychee/out.md | |
| labels: automated |