Module: kamailio
Branch: master
Commit: 556d13201e9d736f32be109b8eaf47a23b592a34
URL: 
https://github.com/kamailio/kamailio/commit/556d13201e9d736f32be109b8eaf47a23b592a34

Author: Victor Seva <[email protected]>
Committer: Victor Seva <[email protected]>
Date: 2026-02-27T11:24:42+01:00

github: [check-commit] add pre-commit prefix [skip ci]

---

Modified: .github/scripts/check-commit.sh

---

Diff:  
https://github.com/kamailio/kamailio/commit/556d13201e9d736f32be109b8eaf47a23b592a34.diff
Patch: 
https://github.com/kamailio/kamailio/commit/556d13201e9d736f32be109b8eaf47a23b592a34.patch

---

diff --git a/.github/scripts/check-commit.sh b/.github/scripts/check-commit.sh
index 920bacc6268..708f8e2bc59 100755
--- a/.github/scripts/check-commit.sh
+++ b/.github/scripts/check-commit.sh
@@ -71,6 +71,12 @@ check_subject() {
     return
   fi
 
+  # pre-commit config
+  if [[ "${prefix}" =~ ^pre-commit$ ]] ; then
+    echo "[${commit}] prefix is pre-commit config, OK[${prefix}]"
+    return
+  fi
+
   fail "[${commit}] unknown prefix:'${prefix}'"
 }
 

_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to