From e414db946435f4d9b65a5e2769f87bf16c1dd633 Mon Sep 17 00:00:00 2001 From: Balazs Gibizer Date: Tue, 28 May 2024 17:37:20 +0200 Subject: [PATCH] [pre-commit]Run make bundle We noticed that make bundle can re-generate some of the manifests causing local diffs in later stages. So to catch such re-generation needs lets run it in pre-commit. --- .pre-commit-config.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5e8e1ded..0b9f3c09 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,6 +19,12 @@ repos: entry: make args: ['operator-lint'] pass_filenames: false + - id: make-bundle + name: make-bundle + language: system + entry: make + args: ['bundle', 'VERSION=0.0.1'] + pass_filenames: false - repo: https://github.com/dnephin/pre-commit-golang rev: v0.5.1