Skip to content

Error with base dir #313

@royfrancis

Description

@royfrancis
name: linkcheck

on:
  push:
  pull_request:

jobs:
  check_links:
    runs-on: ubuntu-latest
    env:
      GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
    steps:
      - uses: actions/checkout@v5

      - name: Link Checker
        id: lychee
        uses: lycheeverse/lychee-action@v2
        with:
          args: --base . --verbose --no-progress "*.md" "*.qmd"
          fail: false

failed run

error: invalid value '.' for '--base <BASE>': Error with base dir `.` : Base must either be a URL (with scheme) or an absolute local path. See `--help` for more information. If you want to resolve root-relative links in local files, also see `--root-dir`.

I have also tried changing --base to --base-url and it's the same (failed run). This used to work fine until the end of Oct 2025 (working run). What has changed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions