diff --git a/queries/unguarded-action-lib.ql b/queries/unguarded-action-lib.ql index 87183f5d3..faa26d250 100644 --- a/queries/unguarded-action-lib.ql +++ b/queries/unguarded-action-lib.ql @@ -43,7 +43,7 @@ class ActionsLibImport extends ImportDeclaration { ActionsLibImport() { getImportedPath().getValue().matches("@actions/%") and not isSafeActionLib(getImportedPath().getValue()) or - getImportedPath().getValue() = "./actions-util" + getImportedPath().getValue().matches("/actions-util$") } string getName() {