Skip to content

Commit fc5a1c5

Browse files
committed
ci(github-actions): Set fetch-depth for checkout actions
1 parent 64cb3bb commit fc5a1c5

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/maven.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ jobs:
1919
steps:
2020
# Checkout the repository
2121
- uses: actions/checkout@v4
22+
with:
23+
fetch-depth: 5
2224

2325
# Set up JDK 24
2426
- name: Set up JDK 24

.github/workflows/test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ jobs:
1919
steps:
2020
# Checkout the repository
2121
- uses: actions/checkout@v4
22-
22+
with:
23+
fetch-depth: 5
24+
2325
# Set up JDK 24
2426
- name: Set up JDK 24
2527
uses: actions/setup-java@v4

0 commit comments

Comments
 (0)