mirror of
https://github.com/github/codeql-action.git
synced 2026-10-03 09:14:58 +00:00
Ignore internal Actions
This commit is contained in:
@@ -15,7 +15,9 @@ import javascript
|
||||
*/
|
||||
class ActionDeclaration extends File {
|
||||
ActionDeclaration() {
|
||||
getRelativePath().matches("%/action.yml")
|
||||
getRelativePath().matches("%/action.yml") and
|
||||
// Ignore internal Actions
|
||||
not getRelativePath().matches(".github/actions/%")
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user