Skip to content

Commit 8727bbc

Browse files
committed
fix repo checkout
Signed-off-by: richardhuo-nv <rihuo@nvidia.com>
1 parent 5bf7c50 commit 8727bbc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/docs-link-check.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ jobs:
1515
steps:
1616
- name: Check out repository
1717
uses: actions/checkout@v4
18+
with:
19+
# For pull_request events, use the PR head (commit from the contributor's branch/repo)
20+
repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }}
21+
ref: ${{ github.event.pull_request.head.sha || github.sha }}
22+
fetch-depth: 0
1823

1924
# Cache lychee results (e.g. to avoid hitting rate limits)
2025
# https://lychee.cli.rs/github_action_recipes/caching/

0 commit comments

Comments
 (0)