From b28b35c23997bb04e328e15c7654a24ab31f2e6f Mon Sep 17 00:00:00 2001 From: Patric Stout Date: Sun, 16 Mar 2025 12:48:41 +0100 Subject: [PATCH] Fix: [CI] Disable CodeQL TRAP Cache, as it trashes our cache (#13832) Each cache is ~1GB. And you can only have 10GB of cache. So after 10 runs, our cache is full of trap caches. The kicker? We don't actually benefit from this cache. It is only used if you re-run CodeQL over the exact same codebase (without changes), to quickly re-evaluate the latest CodeQL set. We are way to active to have any benefit from that, and we don't run CodeQL on a schedule to ever pick up on the cache. --- .github/workflows/codeql.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index b1b9a904e4..1922f63b5f 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -87,6 +87,7 @@ jobs: with: languages: cpp config-file: ./.github/codeql/codeql-config.yml + trap-caching: false - name: Build run: |