diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 67428073c80..ffebc4b1bf1 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -30,6 +30,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 # Required for go-header check https://github.com/golangci/golangci-lint/issues/2470#issuecomment-1473658471 - uses: actions/setup-go@v5 with: go-version-file: "go.mod"