mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-29 08:11:13 +00:00
CI: Skip commit linter line length check on lines that contain URLs
This commit is contained in:
parent
7b88857c5a
commit
34ec0fa8ad
Notes:
sideshowbarker
2024-07-18 08:29:37 +09:00
Author: https://github.com/IdanHo Commit: https://github.com/SerenityOS/serenity/commit/34ec0fa8ad0 Pull-request: https://github.com/SerenityOS/serenity/pull/8958
4
.github/workflows/lintcommits.yml
vendored
4
.github/workflows/lintcommits.yml
vendored
|
@ -26,8 +26,8 @@ jobs:
|
|||
uses: tim-actions/commit-message-checker-with-regex@v0.3.1
|
||||
with:
|
||||
commits: ${{ steps.get-pr-commits.outputs.commits }}
|
||||
pattern: '^.{0,72}(\n.{0,72})*$'
|
||||
error: 'Commit message lines are too long (maximum allowed is 72 characters)'
|
||||
pattern: '^.{0,72}(?:\n(?:(.{0,72})|(.*?([a-z]+:\/\/)?(([a-zA-Z0-9_]|-)+\.)+[a-z]{2,}(:\d+)?([a-zA-Z_0-9@:%\+.~\?&/=]|-)+).*?))*$'
|
||||
error: 'Commit message lines are too long (maximum allowed is 72 characters, except for URLs)'
|
||||
|
||||
- name: Check subsystem
|
||||
if: ${{ success() || failure() }}
|
||||
|
|
Loading…
Reference in a new issue