name: Links on: workflow_dispatch: push: branches: - "release/**" paths: - "**.md" - "**.html" - "./.github/workflows/check-links.yml" pull_request: paths: - "**.md" - "**.html" - "./.github/workflows/check-links.yml" jobs: linkChecker: runs-on: ubuntu-24.04 steps: - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: ref: ${{ !github.event.pull_request.head.repo.fork && github.head_ref || '' }} - name: Link Checker uses: lycheeverse/lychee-action@f796c8b7d468feb9b8c0a46da3fac0af6874d374 # v2.2.0 with: args: "--config ./.lychee.toml './**/*.md' './**/*.html'" fail: true