From 1d5752b1021674d28de65c8b29857597262f98c4 Mon Sep 17 00:00:00 2001 From: Derek Roberts Date: Wed, 27 Mar 2024 16:19:24 -0700 Subject: [PATCH] chore(ci): only run cleanup if triggered (#78) --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index d006778..3cb6c9b 100644 --- a/action.yml +++ b/action.yml @@ -267,7 +267,7 @@ runs: # Run post deployment command ${{ inputs.post_rollout }} - - if: inputs.delete_completed == 'true' + - if: inputs.delete_completed == 'true' && steps.triggers.outputs.triggered == 'true' shell: bash run: | # Expand for succeeded pod cleanup (optional)