Skip to content

Commit

Permalink
[BRE-383] - fix the bug (#336)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eeebru authored Oct 21, 2024
1 parent da4dae7 commit 9ae0b22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lint-workflow/lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)",
Expand Down

0 comments on commit 9ae0b22

Please sign in to comment.