mirror of
https://github.com/actions/cache.git
synced 2026-05-13 13:28:06 +00:00
Disables default save action on actions/cache for pull_request_target
This commit is contained in:
parent
27d5ce7f10
commit
8eb11f09c5
@ -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'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user