GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — build: annotate markdown lint failures in pull requests · sam-github/node@f467b9b

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • CI.yml
    • remark-lint-problem-matcher.json
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/CI.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/CI.yml
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,9 @@ jobs:
6464
with:
6565
node-version: 10.x
6666
- name: Lint docs
67-
run: NODE=$(which node) make lint-md
67+
run: |
68+
echo "::add-matcher::.github/workflows/remark-lint-problem-matcher.json"
69+
NODE=$(which node) make lint-md
6870
lint-js:
6971
runs-on: ubuntu-latest
7072
steps:
Collapse file

‎.github/workflows/remark-lint-problem-matcher.json‎

Copy file name to clipboard
+22Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"problemMatcher": [
3+
{
4+
"owner": "remark-lint",
5+
"pattern": [
6+
{
7+
"regexp": "^(?:\\x1b\\[\\d+m)*(.+?)(?:\\x1b\\[\\d+m)*$",
8+
"file": 1
9+
},
10+
{
11+
"regexp": "^\\s+(?:\\d+:\\d+-)?(\\d+):(\\d+)\\s+\\S*(error|warning|info)\\S*\\s+(.+)\\s+(\\S+)\\s+(?:\\S+)$",
12+
"line": 1,
13+
"column": 2,
14+
"severity": 3,
15+
"message": 4,
16+
"code": 5,
17+
"loop": true
18+
}
19+
]
20+
}
21+
]
22+
}

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.