Skip to content

Commit

Permalink
Add problem matcher for header checks on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ThiefMaster authored and OmeGak committed Sep 19, 2023
1 parent 62af006 commit 2c2dc70
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/matchers/ruff.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"problemMatcher": [
{
"owner": "ruff",
"pattern": [
{
"regexp": "^([^:]+):(\\d+):(\\d+): \\s(.+)$",
"file": 1,
"line": 2,
"column": 3,
"message": 4
}
]
}
]
}
14 changes: 14 additions & 0 deletions .github/matchers/unbehead-problem-matcher.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"problemMatcher": [
{
"owner": "unbehead",
"pattern": [
{
"regexp": "^((?:Missing|Incorrect) header) in (.+)$",
"message": 1,
"file": 2
}
]
}
]
}

0 comments on commit 2c2dc70

Please sign in to comment.