@codfish/actions-playground 0.0.0-PR-58--5e1d9de → 0.0.0-PR-58--6f89e69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2,7 +2,7 @@ name: Validate pr title
|
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
4
|
pull_request:
|
|
5
|
-
types: [edited]
|
|
5
|
+
types: [edited, opened, reopened]
|
|
6
6
|
|
|
7
7
|
jobs:
|
|
8
8
|
validate:
|
|
@@ -17,5 +17,11 @@ jobs:
|
|
|
17
17
|
with:
|
|
18
18
|
node-version: 20
|
|
19
19
|
|
|
20
|
+
- name: install commitlint deps
|
|
21
|
+
run: npm install @commitlint/{cli,config-conventional}
|
|
22
|
+
|
|
23
|
+
- name: create commitlint config
|
|
24
|
+
run: echo "module.exports = {extends: ['@commitlint/config-conventional']}" > commitlint.config.js
|
|
25
|
+
|
|
20
26
|
- run: |
|
|
21
|
-
echo "${{ github.event.pull_request.title }}" |
|
|
27
|
+
echo "${{ github.event.pull_request.title }}" | commitlint
|
package/package.json
CHANGED