Disables default save action on actions/cache for pull_request_target

This commit is contained in:
Jesse Houwing 2026-05-12 08:55:37 +02:00
parent 27d5ce7f10
commit 8eb11f09c5

View File

@ -41,7 +41,7 @@ runs:
using: 'node24' using: 'node24'
main: 'dist/restore/index.js' main: 'dist/restore/index.js'
post: 'dist/save/index.js' post: 'dist/save/index.js'
post-if: "success()" post-if: "success() && github.event_name != 'pull_request_target'"
branding: branding:
icon: 'archive' icon: 'archive'
color: 'gray-dark' color: 'gray-dark'