From c0a6d0e070184aec1aae5a0b3f90de71b50592e1 Mon Sep 17 00:00:00 2001 From: Timo Riski Date: Thu, 18 Jan 2024 12:43:18 +0100 Subject: [PATCH] ci: fix running trunk in `generate` action --- .github/workflows/generate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/generate.yml b/.github/workflows/generate.yml index c66c4939..29f81706 100644 --- a/.github/workflows/generate.yml +++ b/.github/workflows/generate.yml @@ -14,7 +14,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 with: - ref: ${{ github.head_ref }} + fetch-depth: 0 - uses: actions/setup-go@v5 with: go-version-file: go.mod