-
Notifications
You must be signed in to change notification settings - Fork 38
/
actionlint_v1.6.9_CUSTOM.check.shot
64 lines (63 loc) · 1.88 KB
/
actionlint_v1.6.9_CUSTOM.check.shot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Testing linter actionlint test CUSTOM 1`] = `
{
"issues": [
{
"code": "events",
"column": "13",
"file": ".github/workflows/bad.in.yaml",
"issueClass": "ISSUE_CLASS_NEW",
"issueUrl": "https://github.com/rhysd/actionlint/blob/main/docs/checks.md",
"level": "LEVEL_HIGH",
"line": "4",
"linter": "actionlint",
"message": "invalid CRON format "0 */3 * *" in schedule event: Expected exactly 5 fields, found 4: 0 */3 * *",
"targetType": "github-workflow",
},
{
"code": "events",
"column": "13",
"file": ".github/workflows/bad.in.yaml",
"issueClass": "ISSUE_CLASS_NEW",
"issueUrl": "https://github.com/rhysd/actionlint/blob/main/docs/checks.md",
"level": "LEVEL_HIGH",
"line": "6",
"linter": "actionlint",
"message": "scheduled job runs too frequently. it runs once per 60 seconds. the shortest interval is once every 5 minutes",
"targetType": "github-workflow",
},
{
"code": "syntax-check",
"file": ".github/workflows/empty.in.yaml",
"issueClass": "ISSUE_CLASS_NEW",
"issueUrl": "https://github.com/rhysd/actionlint/blob/main/docs/checks.md",
"level": "LEVEL_HIGH",
"linter": "actionlint",
"message": ""jobs" section is missing in workflow",
"targetType": "github-workflow",
},
],
"lintActions": [
{
"command": "lint",
"fileGroupName": "github-workflow",
"linter": "actionlint",
"paths": [
".github/workflows/bad.in.yaml",
],
"verb": "TRUNK_VERB_CHECK",
},
{
"command": "lint",
"fileGroupName": "github-workflow",
"linter": "actionlint",
"paths": [
".github/workflows/empty.in.yaml",
],
"verb": "TRUNK_VERB_CHECK",
},
],
"taskFailures": [],
"unformattedFiles": [],
}
`;