We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99cd3f1 commit c95f1b3Copy full SHA for c95f1b3
.github/workflows/check-pr-links.yml
@@ -50,10 +50,12 @@ jobs:
50
id: changed-files
51
run: |
52
files=$(git diff --name-only origin/${{ github.event.pull_request.base.ref }} ${{ github.head_ref }} | grep '\.md$' || true)
53
+ files=$(echo "$files" | tr '\n' ' ')
54
echo "changed_files=$files" >> $GITHUB_ENV
55
56
# Step 6: Run Lychee on changed files only (with fragments)
57
- name: Run Lychee link checker
58
+ if: ${{ env.changed_files != '' }}
59
uses: lycheeverse/lychee-action@v2
60
with:
61
args: "--no-progress --include-fragments ${{ env.changed_files }}"
0 commit comments