@@ -245,50 +245,8 @@ jobs:
245
245
UBSAN_OPTIONS : " halt_on_error=1"
246
246
if : ${{ matrix.with-fuzzers == 'NO_FUZZ' }}
247
247
248
- lint_commits :
249
- runs-on : ubuntu-20.04
250
- if : always() && github.event_name == 'pull_request'
251
-
252
- steps :
253
- - name : Get PR Commits
254
- id : ' get-pr-commits'
255
- uses : tim-actions/get-pr-commits@55b867b9b28954e6f5c1a0fe2f729dc926c306d0
256
- with :
257
- token : ${{ secrets.GITHUB_TOKEN }}
258
-
259
- - name : Check linebreaks
260
- if : ${{ success() || failure() }}
261
- uses : tim-actions/commit-message-checker-with-regex@v0.3.1
262
- with :
263
- commits : ${{ steps.get-pr-commits.outputs.commits }}
264
- pattern : ' ^[^\r]*$'
265
- error : ' Commit message contains CRLF line breaks (only unix-style LF linebreaks are allowed)'
266
-
267
- - name : Check Line Length
268
- uses : tim-actions/commit-message-checker-with-regex@v0.3.1
269
- with :
270
- commits : ${{ steps.get-pr-commits.outputs.commits }}
271
- pattern : ' ^.{0,72}(\n.{0,72})*$'
272
- error : ' Commit message lines are too long (maximum allowed is 72 characters)'
273
-
274
- - name : Check subsystem
275
- if : ${{ success() || failure() }}
276
- uses : tim-actions/commit-message-checker-with-regex@v0.3.1
277
- with :
278
- commits : ${{ steps.get-pr-commits.outputs.commits }}
279
- pattern : ' ^\S.*?: .+'
280
- error : ' Missing category in commit title (if this is a fix up of a previous commit, it should be squashed)'
281
-
282
- - name : Check title
283
- if : ${{ success() || failure() }}
284
- uses : tim-actions/commit-message-checker-with-regex@v0.3.1
285
- with :
286
- commits : ${{ steps.get-pr-commits.outputs.commits }}
287
- pattern : ' ^.+[^.\n](\n.*)*$'
288
- error : ' Commit title ends in a period'
289
-
290
248
notify_irc :
291
- needs : [build_and_test_serenity, build_and_test_lagom, lint_commits ]
249
+ needs : [build_and_test_serenity, build_and_test_lagom]
292
250
runs-on : ubuntu-20.04
293
251
if : always() && github.repository == 'SerenityOS/serenity' && (github.event_name == 'pull_request' || (github.event_name == 'push' && github.ref == 'refs/heads/master'))
294
252
0 commit comments