Skip to content

Commit aa36a3a

Browse files
committed
fix: Added missing php content
1 parent 6c52afe commit aa36a3a

File tree

5 files changed

+2898
-2
lines changed

5 files changed

+2898
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/vendor/

captainhook.json

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{
2+
"commit-msg": {
3+
"enabled": true,
4+
"actions": [
5+
{
6+
"action": "\\Ramsey\\CaptainHook\\ValidateConventionalCommit"
7+
}
8+
]
9+
},
10+
"pre-push": {
11+
"enabled": false,
12+
"actions": []
13+
},
14+
"pre-commit": {
15+
"enabled": true,
16+
"actions": [
17+
{
18+
"action": "\\CaptainHook\\App\\Hook\\PHP\\Action\\Linting",
19+
"options": []
20+
},
21+
{
22+
"action": "phpcs --standard=psr2 src/",
23+
"options": []
24+
}
25+
]
26+
},
27+
"prepare-commit-msg": {
28+
"enabled": true,
29+
"actions": [
30+
{
31+
"action": "\\Ramsey\\CaptainHook\\PrepareConventionalCommit"
32+
}
33+
]
34+
},
35+
"post-commit": {
36+
"enabled": false,
37+
"actions": []
38+
},
39+
"post-merge": {
40+
"enabled": false,
41+
"actions": []
42+
},
43+
"post-checkout": {
44+
"enabled": false,
45+
"actions": []
46+
},
47+
"post-rewrite": {
48+
"enabled": false,
49+
"actions": []
50+
},
51+
"post-change": {
52+
"enabled": false,
53+
"actions": []
54+
}
55+
}

composer.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
{
2-
"name": "Test repo",
2+
"name": "sozodesign/magento2-changelog-automation-testing",
33
"version": "0.1.0",
4-
"description": "Test repo to see how the automatic changelog generation can work"
4+
"description": "Test repo to see how the automatic changelog generation can work",
5+
"require-dev": {
6+
"captainhook/captainhook": "^5.16",
7+
"captainhook/plugin-composer": "^5.3",
8+
"ramsey/conventional-commits": "^1.5"
9+
},
10+
"config": {
11+
"allow-plugins": {
12+
"captainhook/plugin-composer": true
13+
}
14+
}
515
}

0 commit comments

Comments
 (0)