Validate and update links (STF-557) #10
Workflow file for this run
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: Links | |
| on: | |
| push: | |
| pull_request: | |
| schedule: | |
| - cron: "0 13 * * 1" # weekly, to catch external link rot without a commit | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| linkChecker: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| persist-credentials: false | |
| - name: Setup mise | |
| uses: jdx/mise-action@6d1e696aa24c1aa1bcc1adea0212707c71ab78a8 # v3.6.1 | |
| with: | |
| install: false | |
| # Install only lychee (not the repo's full toolchain) and run the check. | |
| - name: Check links | |
| env: | |
| MISE_AUTO_INSTALL: "false" | |
| run: | | |
| mise install lychee | |
| mise run check-links |