From 8eb11f09c5a596bdf1ff78a927bc8333072bfdd2 Mon Sep 17 00:00:00 2001 From: Jesse Houwing Date: Tue, 12 May 2026 08:55:37 +0200 Subject: [PATCH] Disables default save action on actions/cache for pull_request_target --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 2606455..5d2923a 100644 --- a/action.yml +++ b/action.yml @@ -41,7 +41,7 @@ runs: using: 'node24' main: 'dist/restore/index.js' post: 'dist/save/index.js' - post-if: "success()" + post-if: "success() && github.event_name != 'pull_request_target'" branding: icon: 'archive' color: 'gray-dark'