gitlab-ci: require new commits to be signed off to pass the test
authorReto Achermann <reto.achermann@inf.ethz.ch>
Tue, 7 May 2019 11:30:31 +0000 (13:30 +0200)
committerReto Achermann <reto.achermann@inf.ethz.ch>
Tue, 7 May 2019 11:30:31 +0000 (13:30 +0200)
Signed-off-by: Reto Achermann <reto.achermann@inf.ethz.ch>

.gitlab-ci.yml

index 4d2db03..4f7a8f0 100644 (file)
@@ -24,7 +24,7 @@ commithook-signedoff:
     paths:
       - commits_not_signed.txt
   script:
-    - "! git log  --since='2017-01-01' --invert-grep --grep='Signed-off-by' | tee 'commits_not_signed.txt' | grep 'commit' -A 5"
+    - "! git log  --since='2018-01-01' --invert-grep --grep='Signed-off-by' | tee 'commits_not_signed.txt' | grep 'commit' -A 5"