[pull] main from fastify:main #948
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: Internal Links Check | |
| on: | |
| pull_request: | |
| paths: | |
| - 'docs/**' | |
| - '*.md' | |
| permissions: | |
| contents: read | |
| jobs: | |
| linkChecker: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Check out repo | |
| uses: actions/checkout@v5 | |
| with: | |
| persist-credentials: false | |
| # It will be possible to check only for the links in the changed files | |
| # See: https://github.com/lycheeverse/lychee-action/issues/17 | |
| - name: Link Checker | |
| id: lychee | |
| uses: lycheeverse/lychee-action@a8c4c7cb88f0c7386610c35eb25108e448569cb0 # v2.7.0 | |
| with: | |
| fail: true | |
| # As external links behavior is not predictable, we check only internal links | |
| # to ensure consistency. | |
| # See: https://github.com/lycheeverse/lychee-action/issues/17#issuecomment-1162586751 | |
| args: --offline --verbose --no-progress './**/*.md' | |
| env: | |
| GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |