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.
This commit is contained in:
ian 2022-04-14 17:41:31 +08:00 committed by GitHub
parent 5f6ceaf4f1
commit 7cd1444087
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ jobs:
#env: #env:
# GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} # GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
with: with:
args: '--verbose --max-retries 4 --no-progress **/*.md' args: '--verbose --max-retries 4 --no-progress "**/*.md"'
- name: Create Issue From File - name: Create Issue From File
uses: peter-evans/create-issue-from-file@v2 uses: peter-evans/create-issue-from-file@v2