File tree Expand file tree Collapse file tree 2 files changed +35
-3
lines changed
Expand file tree Collapse file tree 2 files changed +35
-3
lines changed Original file line number Diff line number Diff line change 1- name : CHECK
1+ name : SOURCE
22
33on :
4+ merge_group :
45 pull_request :
56 push :
67 branches :
78 - main
89
910jobs :
10- install :
11+ lint :
12+ name : lint source
1113 runs-on : ubuntu-latest
1214 steps :
1315 - name : checkout repository
2628 node-version-file : ' .nvmrc'
2729 - name : install dependencies
2830 run : pnpm install
29- - name : lint codebase
31+ - name : lint source
3032 run : pnpm lint
Original file line number Diff line number Diff line change 1+ name : TITLE
2+
3+ on :
4+ merge_group :
5+ pull_request :
6+ types : [opened, reopened, edited, synchronize]
7+
8+ jobs :
9+ lint :
10+ name : lint title
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : checkout repository
14+ uses : actions/checkout@v4
15+ with :
16+ fetch-depth : 0
17+ - name : setup package manager
18+ uses : pnpm/action-setup@v4
19+ with :
20+ run_install : false
21+ - name : install node
22+ uses : actions/setup-node@v4
23+ with :
24+ cache : ' pnpm'
25+ check-latest : true
26+ node-version-file : ' .nvmrc'
27+ - name : install dependencies
28+ run : pnpm install
29+ - name : lint title
30+ run : echo "${{ github.event.pull_request.title }}" | pnpm exec commitlint --extends @somehow-digital/commitlint-config/conventional
You can’t perform that action at this time.
0 commit comments