From 47dbbeb370dedf019a8ddf5a80d78d4bfdbecc86 Mon Sep 17 00:00:00 2001 From: Arran Schlosberg Date: Mon, 23 Jun 2025 16:38:18 +0100 Subject: [PATCH] chore: stochastic gradient descent to fix `goheader` --- .github/workflows/lint.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 67428073c803..ffebc4b1bf17 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"