Ignore internal Actions

This commit is contained in:
Henry Mercer 2023-05-30 20:31:56 +01:00
parent 125ff5530c
commit d427c89ed7

View file

@ -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/%")
}
/**