File tree 2 files changed +6
-9
lines changed
2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 7
7
runs-on : ubuntu-latest
8
8
steps :
9
9
- uses : actions/checkout@v3
10
- - uses : wagoid/commitlint-github-action@v5
11
10
with :
12
- commitDepth : ${{ github.event.pull_request.commits }}
11
+ fetch-depth : 0
12
+ - uses : actions/setup-node@v3
13
+ with :
14
+ node-version : 18.x
15
+ - run : npm i
16
+ - run : npx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose
13
17
main :
14
18
runs-on : ubuntu-latest
15
19
steps :
Original file line number Diff line number Diff line change 7
7
8
8
9
9
jobs :
10
- commitlint :
11
- runs-on : ubuntu-latest
12
- steps :
13
- - uses : actions/checkout@v3
14
- - uses : wagoid/commitlint-github-action@v5
15
- with :
16
- commitDepth : ${{ github.event.pull_request.commits }}
17
10
main :
18
11
runs-on : ubuntu-latest
19
12
environment : DeployEnv
You can’t perform that action at this time.
0 commit comments