Skip to content

Commit

Permalink
⚙️ config(ci): Add automated PR comments for workflow lint.
Browse files Browse the repository at this point in the history
This might be progress on #910.
  • Loading branch information
make-github-pseudonymous-again committed May 20, 2024
1 parent 604e6b7 commit 60ca4dd
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci:lint-workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@ jobs:
- name: Lint workflows 👕
run: |
echo "::add-matcher::.github/workflows/matchers/actionlint.json"
${{ steps.install.outputs.executable }} -color
17 changes: 17 additions & 0 deletions .github/workflows/matchers/actionlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"problemMatcher": [
{
"owner": "actionlint",
"pattern": [
{
"regexp": "^(?:\\x1b\\[\\d+m)?(.+?)(?:\\x1b\\[\\d+m)*:(?:\\x1b\\[\\d+m)*(\\d+)(?:\\x1b\\[\\d+m)*:(?:\\x1b\\[\\d+m)*(\\d+)(?:\\x1b\\[\\d+m)*: (?:\\x1b\\[\\d+m)*(.+?)(?:\\x1b\\[\\d+m)* \\[(.+?)\\]$",
"file": 1,
"line": 2,
"column": 3,
"message": 4,
"code": 5
}
]
}
]
}

0 comments on commit 60ca4dd

Please sign in to comment.