diff --git a/.github/workflows/links.yml b/.github/workflows/links.yml index 6603c7b0..751c16aa 100644 --- a/.github/workflows/links.yml +++ b/.github/workflows/links.yml @@ -25,7 +25,7 @@ jobs: - name: Find all markdown files id: find_files run: | - echo "::set-output name=files::$(find . -name '*.md' | sed 's/^/\"/;s/$/\"/' | tr '\n' ' ')" + echo "::set-output name=files::$(find . -name '*.md' -type f | sed 's|^./||' | sed 's/^/\"/;s/$/\"/' | tr '\n' ' ')" - name: Link Checker id: lychee