Skip to content
Prev Previous commit
Next Next commit
Ignore internal Actions
  • Loading branch information
henrymercer committed May 30, 2023
commit d427c89ed777bdee35cf894c5a6ce3f3b95901d1
4 changes: 3 additions & 1 deletion queries/inconsistent-action-input.ql
Original file line number Diff line number Diff line change
Expand Up @@ -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/%")
}

/**
Expand Down