Skip to content

Commit 828b2a2

Browse files
authored
Whitespace and formatting cleanup (#5)
1 parent 82f548e commit 828b2a2

File tree

4 files changed

+39
-40
lines changed

4 files changed

+39
-40
lines changed

.github/workflows/test.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,27 @@ on:
44
push:
55
branches:
66
- master
7-
- 'releases/*'
7+
- "releases/*"
88

99
jobs:
1010
test-case-sensitive:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v1
14-
- uses: ./
15-
with:
16-
terms: "wip|fix|fixme"
17-
case-sensitive: true
18-
env:
19-
ENVIRONMENT: test
20-
13+
- uses: actions/checkout@v1
14+
- uses: ./
15+
with:
16+
terms: "wip|fix|fixme"
17+
case-sensitive: true
18+
env:
19+
ENVIRONMENT: test
20+
2121
test-case-insensitive:
2222
runs-on: ubuntu-latest
2323
steps:
24-
- uses: actions/checkout@v1
25-
- uses: ./
26-
with:
27-
terms: "wip|fix|fixme"
28-
case-sensitive: false
29-
env:
30-
ENVIRONMENT: test
24+
- uses: actions/checkout@v1
25+
- uses: ./
26+
with:
27+
terms: "wip|fix|fixme"
28+
case-sensitive: false
29+
env:
30+
ENVIRONMENT: test

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
Checks the code base for any terms ending with a colon, and fail the check if
44
any are found. The default term is `FIXME:`. You can add or change the terms
5-
using the `term` parameter, see [Installation](#Installation) below.
6-
Useful if you want to make sure that you don't miss any required changes in the
5+
using the `term` parameter, see [Installation](#Installation) below.
6+
Useful if you want to make sure that you don't miss any required changes in the
77
code base before merging a PR.
88

99
It runs very fast, taking only a few seconds to finish even on a very large

action.yml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
1-
name: 'FIXME alert'
2-
description: 'Check code for specific terms (FIXME, WIP, etc.) and fail (with code annotations) if any are found.'
3-
author: '@bbugh'
1+
name: "FIXME alert"
2+
description: "Check code for specific terms (FIXME, WIP, etc.) and fail (with code annotations) if any are found."
3+
author: "@bbugh"
44
branding:
5-
icon: 'list'
6-
color: 'orange'
5+
icon: "list"
6+
color: "orange"
77
runs:
8-
using: 'docker'
9-
image: 'Dockerfile'
8+
using: "docker"
9+
image: "Dockerfile"
1010
args:
11-
- ${{ inputs.case-sensitive }}
11+
- ${{ inputs.case-sensitive }}
1212
inputs:
1313
terms:
14-
description: 'The pipe-delimited searchable terms to pass as a regex group to `git grep`.'
14+
description: "The pipe-delimited searchable terms to pass as a regex group to `git grep`."
1515
required: false
1616
default: "FIXME"
1717
case-sensitive:
18-
description: 'Whether the searchable terms passed to `git grep` should be case-sensitive or not.'
18+
description: "Whether the searchable terms passed to `git grep` should be case-sensitive or not."
1919
required: false
2020
default: false
21-

lib/git-grep-problem-matcher.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
22
"problemMatcher": [
3-
{
4-
"owner": "git",
5-
"pattern": [
6-
{
7-
"regexp": "^(.*?):(\\d+):\\s*(.*?)$",
8-
"file": 1,
9-
"line": 2,
10-
"message": 3
11-
}
12-
]
13-
}
3+
{
4+
"owner": "git",
5+
"pattern": [
6+
{
7+
"regexp": "^(.*?):(\\d+):\\s*(.*?)$",
8+
"file": 1,
9+
"line": 2,
10+
"message": 3
11+
}
12+
]
13+
}
1414
]
1515
}

0 commit comments

Comments
 (0)