From 34f4806f18cf7088be5b412c5ec56bd6f3ba9b62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Cuadrado=20Juan?= Date: Tue, 10 Sep 2024 11:47:15 +0200 Subject: [PATCH] ci: Run `go mod tidy` as updatecli target MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: VĂ­ctor Cuadrado Juan --- updatecli/update_third_party_files.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/updatecli/update_third_party_files.yaml b/updatecli/update_third_party_files.yaml index ad148cc..62ce117 100644 --- a/updatecli/update_third_party_files.yaml +++ b/updatecli/update_third_party_files.yaml @@ -105,6 +105,21 @@ targets: - name: "FILES" value: "pkg/api/resource/amount.go pkg/api/resource/quantity.go pkg/api/resource/math.go \ pkg/api/resource/scale_int.go pkg/api/resource/suffix.go" + goModTidy: + disablesourceinput: true + kind: shell + name: Run `go mod tidy` + spec: + changedif: + kind: file/checksum + spec: + files: + - go.mod + - go.sum + command: go mod tidy + environments: + - name: HOME + - name: PATH actions: createUpdatePR: