mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 11:47:46 +00:00
CI: Skip commit linter line length check on lines that contain URLs
This commit is contained in:
parent
7b88857c5a
commit
34ec0fa8ad
1 changed files with 2 additions and 2 deletions
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…
Add table
Add a link
Reference in a new issue