Skip to content

Commit 69a7603

Browse files
Rohit KumarRohit Kumar
authored andcommitted
fix: revert fetch-depth to 0 for semantic-release compatibility
- Changed fetch-depth from 1 to 0 in create-release.yaml - Changed fetch-depth from 1 to 0 in codeql-analysis.yml - Ensures semantic-release has full git history for version calculation - Addresses manager feedback on PR #317 Signed-off-by: Rohit Kumar <Rohit.Kumar64@ibm.com>
1 parent 23514ec commit 69a7603

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Checkout repository
3838
uses: actions/checkout@v6
3939
with:
40-
fetch-depth: 1
40+
fetch-depth: 0
4141

4242
# Initializes the CodeQL tools for scanning.
4343
- name: Initialize CodeQL

.github/workflows/create-release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Checkout code
1717
uses: actions/checkout@v6
1818
with:
19-
fetch-depth: 1
19+
fetch-depth: 0
2020
token: ${{ secrets.ADMIN_TOKEN }}
2121

2222
- name: Setup Node.js

0 commit comments

Comments
 (0)