From 9ae0b22dd5267a8dd60e8db9c3163fffd9a1801e Mon Sep 17 00:00:00 2001 From: Opeyemi Date: Mon, 21 Oct 2024 16:13:29 +0100 Subject: [PATCH] [BRE-383] - fix the bug (#336) --- lint-workflow/lint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lint-workflow/lint.py b/lint-workflow/lint.py index 8523380f..2acd90b6 100644 --- a/lint-workflow/lint.py +++ b/lint-workflow/lint.py @@ -342,7 +342,7 @@ def lint(filename): # If the step has a 'uses' key, check path for external workflow path_list = path.split("/", 2) - if "bitwarden/" in path and len(path_list) < 3: + if "bitwarden/" in path and len(path_list) < 2: findings.append( LintFinding( f"Step {str(i)} of job key '{job_key}' does not have a valid action path. (missing name of the repository or workflow)",