Skip to content

Commit d20abf3

Browse files
committed
fix: use full git history for SCM versioning in deps-check
Signed-off-by: Abhijeet Saharan <abhijeetsaharan2236@gmail.com>
1 parent 656ab8d commit d20abf3

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/deps-check.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,13 @@ jobs:
2626
uses: step-security/harden-runner@fe104658747b27e96e4f7e80cd0a94068e53901d # v2.16.1
2727
with:
2828
egress-policy: audit
29-
29+
3030
- name: Checkout repository
3131
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
32-
32+
with:
33+
fetch-depth: 0 # ensure full git history for SCM-based versioning
34+
35+
3336
- name: Set up Python ${{ matrix.python-version }}
3437
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
3538
with:

0 commit comments

Comments
 (0)