Skip to content

Commit

Permalink
Ignore internal Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
henrymercer committed May 30, 2023
1 parent 125ff55 commit d427c89
Showing 1 changed file with 3 additions and 1 deletion.
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

0 comments on commit d427c89

Please sign in to comment.