From 08646728728ab394c0f81a0b1b83de9dfc875072 Mon Sep 17 00:00:00 2001 From: Mo Omer Date: Thu, 2 May 2024 15:26:27 -0500 Subject: [PATCH] Update pre-commit only run when go.mod changes --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7c1b5ca..2643062 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,3 +13,4 @@ repos: language: golang require_serial: true pass_filenames: false + files: ^go\.(mod|sum)$