Skip to content

Commit d9c3780

Browse files
committed
Added GitHubCICD muncher #36
1 parent ebd5e14 commit d9c3780

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

stackmuncher_lib/stm_rules/file_types/yml.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@
2525
"in_path": [
2626
"travis\\.yml$"
2727
]
28+
},
29+
{
30+
"muncher": "cicd.github.yml",
31+
"in_path": [
32+
"\\.github/workflows/.+\\.yml$"
33+
]
2834
}
2935
]
3036
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/stackmuncher/stm_app/master/stackmuncher_lib/stm_rules/schemas/muncher.json",
3+
"line_endings": "unix",
4+
"language": "GitHubCICD",
5+
"line_comments": [
6+
"^[[:blank:]]*#.{5,}"
7+
],
8+
"inline_comments": [
9+
"[.[^#\\s]]+[[:blank:]]+#.{5,}"
10+
],
11+
"bracket_only": [
12+
"^[[:blank:]]*[{}\\[\\]\\(\\)][[:blank:];,)]*$",
13+
"^[[:blank:]]*#[[:blank:]]*.{0,5}$"
14+
]
15+
}

0 commit comments

Comments
 (0)