From 54f606ee8a90f21c8c7ebe96851fb20a716dac76 Mon Sep 17 00:00:00 2001 From: Jake Henning <59198928+jkhenning@users.noreply.github.com> Date: Mon, 27 Dec 2021 19:36:16 +0200 Subject: [PATCH] Update links.yml --- .github/workflows/links.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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