From c36473d75dd88c31b6d7ec6a3ef1d3676e959795 Mon Sep 17 00:00:00 2001 From: Eli Schleifer <1265982+EliSchleifer@users.noreply.github.com> Date: Mon, 23 Sep 2024 13:13:36 -0700 Subject: [PATCH] Update plugin.yaml --- linters/trunk-toolbox/plugin.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/linters/trunk-toolbox/plugin.yaml b/linters/trunk-toolbox/plugin.yaml index 561c98a7d..fd51cc289 100644 --- a/linters/trunk-toolbox/plugin.yaml +++ b/linters/trunk-toolbox/plugin.yaml @@ -33,6 +33,8 @@ lint: output: sarif batch: true success_codes: [0] + cache_results: true + cache_ttl: 1h read_output_from: tmp_file - name: lint run: trunk-toolbox --upstream=${upstream-ref} --results=${tmpfile} ${target}