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@f81112d0d2814ded911bd23e3beaa9dda9093915 # v2.1.0 with: args: "--config ./.lychee.toml './**/*.md' './**/*.html'" fail: true