Преглед изворни кода

fix(commit-checker): add security to conventional commit pattern

Frédéric Guillot пре 1 месец
родитељ
комит
31f4f366a9
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      .github/workflows/scripts/commit-checker.py

+ 1 - 1
.github/workflows/scripts/commit-checker.py

@@ -6,7 +6,7 @@ from typing import Match
 
 # Conventional commit pattern (including Git revert messages)
 CONVENTIONAL_COMMIT_PATTERN: str = (
-    r"^((build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\([a-z0-9-]+\))?!?: .{1,100}|Revert .+)"
+    r"^((build|chore|ci|docs|feat|fix|perf|refactor|revert|security|style|test)(\([a-z0-9-]+\))?!?: .{1,100}|Revert .+)"
 )