Skip to content

Commit 422130e

Browse files
authored
Add fetch-depth option to checkout step
1 parent b86fffa commit 422130e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/pr-docker.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ jobs:
1616
steps:
1717
- name: Checkout Code
1818
uses: actions/checkout@v4
19+
with:
20+
ref: ${{ github.head_ref }}
21+
fetch-depth: 0
1922

2023
- name: Setup Qemu
2124
uses: docker/setup-qemu-action@v3

0 commit comments

Comments
 (0)