mirror of
https://github.com/github/codeql-action
synced 2026-05-23 20:00:54 +03:00
Update unguarded-action-lib.ql
This commit is contained in:
@@ -43,7 +43,7 @@ class ActionsLibImport extends ImportDeclaration {
|
||||
ActionsLibImport() {
|
||||
getImportedPath().getValue().matches("@actions/%") and
|
||||
not isSafeActionLib(getImportedPath().getValue()) or
|
||||
getImportedPath().getValue().matches("/actions-util$")
|
||||
getImportedPath().getValue().matches("%/actions-util$")
|
||||
}
|
||||
|
||||
string getName() {
|
||||
|
||||
Reference in New Issue
Block a user