Skip to content

Commit 16df4a3

Browse files
committed
Set fetch-depth to 0 in CI checkout step
Configures the actions/checkout step to fetch the full git history, enabling proper versioning in the CI build workflow.
1 parent 0edfe27 commit 16df4a3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci-build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ jobs:
3131
steps:
3232
- name: Git checkout
3333
uses: actions/checkout@v5
34+
with:
35+
fetch-depth: 0 # We need the full history for proper versioning
3436

3537
- name: Install .NET SDK
3638
uses: actions/setup-dotnet@v5

0 commit comments

Comments
 (0)