diff --git a/queries/inconsistent-action-input.ql b/queries/inconsistent-action-input.ql index f7f5d37d26..a48f4f6e8f 100644 --- a/queries/inconsistent-action-input.ql +++ b/queries/inconsistent-action-input.ql @@ -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/%") } /**