From 7cd1444087eefdfa94039116d88ee793425eb502 Mon Sep 17 00:00:00 2001 From: ian Date: Thu, 14 Apr 2022 17:41:31 +0800 Subject: [PATCH] let lychee handle advanced globbing The workflow does not quote `**/*.md`, so bash will handle the globbing, which does not support the recursive pattern `**`. After quoting, bash will pass `**/*.md` to lychee, which will find all markdown files in the repository. --- .github/workflows/lychee.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lychee.yml b/.github/workflows/lychee.yml index 9c79300..3ce1cfa 100644 --- a/.github/workflows/lychee.yml +++ b/.github/workflows/lychee.yml @@ -17,7 +17,7 @@ jobs: #env: # GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} with: - args: '--verbose --max-retries 4 --no-progress **/*.md' + args: '--verbose --max-retries 4 --no-progress "**/*.md"' - name: Create Issue From File uses: peter-evans/create-issue-from-file@v2