Skip to content

Commit 1325508

Browse files
committed
ci: trunk-fetch-depth
1 parent 58e78e8 commit 1325508

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/scans.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,8 @@ jobs:
299299
runs-on: ubuntu-latest
300300
steps:
301301
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
302+
with:
303+
fetch-depth: (${{ github.event.pull_request.commits || 2 }} + 1)
302304

303305
- uses: trunk-io/trunk-action@4d5ecc89b2691705fd08c747c78652d2fc806a94 # v1
304306

0 commit comments

Comments
 (0)