File tree Expand file tree Collapse file tree 2 files changed +104
-0
lines changed Expand file tree Collapse file tree 2 files changed +104
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "parserPreset": "conventional-changelog-conventionalcommits",
3
+ "rules": {
4
+ "scope-enum": [
5
+ 2,
6
+ "always",
7
+ [
8
+ "symfony",
9
+ "doctrine",
10
+ "metadata",
11
+ "elasticsearch",
12
+ "mongodb",
13
+ "jsonld",
14
+ "hydra",
15
+ "jsonapi",
16
+ "graphql",
17
+ "openapi",
18
+ "serializer",
19
+ "jsonschema",
20
+ "validation"
21
+ ]
22
+ ],
23
+ "scope-empty": [
24
+ 1,
25
+ "always"
26
+ ],
27
+ "body-leading-blank": [
28
+ 1,
29
+ "always"
30
+ ],
31
+ "body-max-line-length": [
32
+ 2,
33
+ "always",
34
+ 100
35
+ ],
36
+ "footer-leading-blank": [
37
+ 1,
38
+ "always"
39
+ ],
40
+ "footer-max-line-length": [
41
+ 2,
42
+ "always",
43
+ 100
44
+ ],
45
+ "header-max-length": [
46
+ 2,
47
+ "always",
48
+ 100
49
+ ],
50
+ "subject-case": [
51
+ 2,
52
+ "never",
53
+ [
54
+ "sentence-case",
55
+ "start-case",
56
+ "pascal-case",
57
+ "upper-case"
58
+ ]
59
+ ],
60
+ "subject-empty": [
61
+ 2,
62
+ "never"
63
+ ],
64
+ "subject-full-stop": [
65
+ 2,
66
+ "never",
67
+ "."
68
+ ],
69
+ "type-case": [
70
+ 2,
71
+ "always",
72
+ "lower-case"
73
+ ],
74
+ "type-empty": [
75
+ 2,
76
+ "never"
77
+ ],
78
+ "type-enum": [
79
+ 2,
80
+ "always",
81
+ [
82
+ "build",
83
+ "chore",
84
+ "ci",
85
+ "docs",
86
+ "feat",
87
+ "fix",
88
+ "perf",
89
+ "refactor",
90
+ "revert",
91
+ "style",
92
+ "test"
93
+ ]
94
+ ]
95
+ }
96
+ }
Original file line number Diff line number Diff line change 10
10
SYMFONY_DEPRECATIONS_HELPER : disabled=1
11
11
12
12
jobs :
13
+ commitlint :
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - uses : actions/checkout@v3
17
+ with :
18
+ fetch-depth : 0
19
+ configFile : .commitlintrc
20
+ - uses : wagoid/commitlint-github-action@v5
13
21
php-cs-fixer :
14
22
name : PHP-cs-fixer (PHP ${{ matrix.php }})
15
23
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments