Skip to content

Commit 432e3bc

Browse files
committed
fix
1 parent 86e660f commit 432e3bc

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/link-checker.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# .github/workflows/link-checker.yml
2-
31
name: "🔗 Broken Link Checker"
42

53
on:
@@ -11,13 +9,16 @@ jobs:
119
runs-on: ubuntu-latest
1210
steps:
1311
- name: "☁️ Checkout Repository"
14-
uses: actions/checkout@v4
12+
# Pinned to a full commit SHA to satisfy security best practices
13+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
1514

1615
- name: "🔎 Run Link Checker"
17-
uses: lycheeverse/lychee-action@v2
16+
# Pinned to a full commit SHA to satisfy the sha-ref validation error
17+
uses: lycheeverse/lychee-action@2b591b68953f656281b36952a78484920668b598 # v2
1818
with:
19-
args: "--config ./lychee.toml ./src/content/**/*.md*"
20-
# Do not show failed
19+
# Points to your source files and uses your lycheerc config
20+
args: "--config ./lycheerc ./src/content/**/*.md*"
21+
# Ensures the step passes so the check doesn't show as "failed"
2122
fail: false
2223
env:
2324
# Required to check GitHub links without being rate-limited

0 commit comments

Comments
 (0)