Deprecate TRAP cache cleanup

This commit is contained in:
Henry Mercer
2026-04-01 15:29:02 +01:00
parent 57ec7e1000
commit 36075a4980
3 changed files with 8 additions and 0 deletions
+4
View File
@@ -185,6 +185,10 @@ export async function cleanupTrapCaches(
trap_cache_cleanup_skipped_because: "feature disabled",
};
}
logger.warning(
"TRAP cache cleanup is deprecated and will be removed in May 2026. " +
"We recommend instead disabling TRAP caching by passing the `trap-caching: false` input to the `init` Action.",
);
if (!(await gitUtils.isAnalyzingDefaultBranch())) {
return {
trap_cache_cleanup_skipped_because: "not analyzing default branch",