Skip to content

Commit d427c89

Browse files
committed
Ignore internal Actions
1 parent 125ff55 commit d427c89

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

queries/inconsistent-action-input.ql

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ import javascript
1515
*/
1616
class ActionDeclaration extends File {
1717
ActionDeclaration() {
18-
getRelativePath().matches("%/action.yml")
18+
getRelativePath().matches("%/action.yml") and
19+
// Ignore internal Actions
20+
not getRelativePath().matches(".github/actions/%")
1921
}
2022

2123
/**

0 commit comments

Comments
 (0)