File tree Expand file tree Collapse file tree 4 files changed +39
-40
lines changed
Expand file tree Collapse file tree 4 files changed +39
-40
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - master
7- - ' releases/*'
7+ - " releases/*"
88
99jobs :
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
Original file line number Diff line number Diff line change 22
33Checks the code base for any terms ending with a colon, and fail the check if
44any 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
77code base before merging a PR.
88
99It runs very fast, taking only a few seconds to finish even on a very large
Original file line number Diff line number Diff line change 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"
44branding :
5- icon : ' list'
6- color : ' orange'
5+ icon : " list"
6+ color : " orange"
77runs :
8- using : ' docker'
9- image : ' Dockerfile'
8+ using : " docker"
9+ image : " Dockerfile"
1010 args :
11- - ${{ inputs.case-sensitive }}
11+ - ${{ inputs.case-sensitive }}
1212inputs :
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-
Original file line number Diff line number Diff line change 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}
You can’t perform that action at this time.
0 commit comments