Skip to content

Commit 47f1560

Browse files
Enhance CI/CD workflow with fetch-depth option
Added fetch-depth option to checkout step for full history. This is intended to ensure last updated date and author display the correct information.
1 parent a3f1f63 commit 47f1560

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/azure-static-web-apps-zealous-desert-09e073403.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
- uses: actions/checkout@v4
1717
with:
1818
submodules: true
19+
fetch-depth: 0
1920
- name: Install dependencies
2021
run: npm ci
2122
- name: Build
@@ -38,3 +39,4 @@ jobs:
3839
api_location: "" # Api source code path - optional
3940
output_location: "/" # Built app content directory - optional
4041
###### End of
42+

0 commit comments

Comments
 (0)