Skip to content

Commit b605c79

Browse files
committed
fix govulncheck job by pulling more data
Signed-off-by: Ashley Davis <[email protected]>
1 parent 8e4d5ed commit b605c79

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/govulncheck.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ jobs:
1919

2020
steps:
2121
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
22+
# Adding `fetch-depth: 0` makes sure tags are also fetched. We need
23+
# the tags so `git describe` returns a valid version.
24+
# see https://github.com/actions/checkout/issues/701 for extra info about this option
25+
with: { fetch-depth: 0 }
2226

2327
- id: go-version
2428
run: |

0 commit comments

Comments
 (0)