File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -301,7 +301,7 @@ def lint(filename):
301301 break
302302
303303 # If the step has a 'uses' key, check if actions are in supported actions list and also value hash, except bitwarden actions.
304- if "bitwarden/gh-actions " not in path :
304+ if "bitwarden/" not in path :
305305 try :
306306 # Check if actions are in supported actions list.
307307 if path not in supported_actions :
@@ -342,7 +342,7 @@ def lint(filename):
342342 # If the step has a 'uses' key, check path for external workflow
343343 path_list = path .split ("/" , 2 )
344344
345- if "bitwarden/gh-actions " in path and len (path_list ) < 3 :
345+ if "bitwarden/" in path and len (path_list ) < 3 :
346346 findings .append (
347347 LintFinding (
348348 f"Step { str (i )} of job key '{ job_key } ' does not have a valid action path. (missing name of the repository or workflow)" ,
You can’t perform that action at this time.
0 commit comments