From 747b022a6d91da91dfafd75ece8fc35eac4e448e Mon Sep 17 00:00:00 2001 From: Alexis Rodriguez Date: Mon, 7 Aug 2023 15:48:17 -0400 Subject: [PATCH] Removes break from check for 3p actions without SHA commit --- analyzer/analyzer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/analyzer/analyzer.py b/analyzer/analyzer.py index 02b1f66..cca56b1 100644 --- a/analyzer/analyzer.py +++ b/analyzer/analyzer.py @@ -77,8 +77,8 @@ def _check_for_3p_actions_without_hash(self) -> bool: print( f"{Colors.LIGHT_GRAY}INFO{Colors.END} step using action('{uses}') with version number instead of a SHA hash" ) - passed = False - break + if passed: + passed = False return passed def _check_for_inline_script(self) -> bool: