Skip to content

Commit 0b9057c

Browse files
committed
Update checkout step
1 parent 2cbcd2a commit 0b9057c

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/check_required_files.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,11 @@ jobs:
4444
# Specify whether to remove untracked files before checking out the repository:
4545
clean: true
4646

47-
# Limit clone depth to the last 25 commits:
48-
fetch-depth: 25
47+
# Refers to the repository name of the pull request:
48+
repository: ${{ github.event.pull_request.head.repo.full_name }}
49+
50+
# Limit clone depth to the most recent commit:
51+
fetch-depth: 1
4952

5053
# Specify whether to download Git-LFS files:
5154
lfs: false

0 commit comments

Comments
 (0)