From ea96efcdb694eb4d4a882a3b67bf8f0a34a0ff2b Mon Sep 17 00:00:00 2001 From: ian Date: Tue, 10 May 2022 11:13:18 +0800 Subject: [PATCH] let lychee handle advanced globbing (#662) 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