File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 5555 if : steps.lerna-cache.outputs.cache-hit != 'true' || contains( github.event.pull_request.labels.*.name, 'SKIP_CACHE')
5656 run : yarn install --with-frozen-lockfile --ignore-scripts
5757
58- - name : Lint Commit Messages
59- run : |
60- GITHUB_REPO_BRANCH=$GITHUB_BASE_REF yarn run check-commits
61-
6258 - name : Check In-Repo Package Versions
6359 run : yarn run check-versions
6460
9288 strategy :
9389 fail-fast : false
9490 matrix :
95- check : ['lint', 'format']
91+ check : ['lint', 'format', 'commit-lint' ]
9692
9793 steps :
9894 - uses : actions/checkout@v4
@@ -125,6 +121,12 @@ jobs:
125121 if : matrix.check == 'format'
126122 run : yarn run check-fmt
127123
124+ - name : Lint Commit Messages
125+ if : matrix.check == 'commit-lint'
126+ run : |
127+ git fetch --unshallow origin $GITHUB_BASE_REF
128+ GITHUB_REPO_BRANCH=$GITHUB_BASE_REF yarn run check-commits
129+
128130 browser-test :
129131 runs-on : ubuntu-22.04
130132
You can’t perform that action at this time.
0 commit comments