Merge pull request #542 from github/robertbrignull/import-actions-lib
Update unguarded-action-lib.ql to catch uses of actions-util.ts
This commit is contained in:
commit
1ec2fd7ea1
1 changed files with 1 additions and 1 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue