From d427c89ed777bdee35cf894c5a6ce3f3b95901d1 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Tue, 30 May 2023 20:31:56 +0100 Subject: [PATCH] Ignore internal Actions --- queries/inconsistent-action-input.ql | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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/%") } /**