ci: Replace custom commit-log script with ci-fairy

ci-fairy now supports checking commit messages for required/disallowed
patterns. Use that to replace our custom commit-log script.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/149>
This commit is contained in:
Florian Müllner
2020-12-18 19:26:42 +01:00
parent 4e731e1dce
commit 02aa68b24a
3 changed files with 11 additions and 76 deletions
+4
View File
@@ -0,0 +1,4 @@
patterns:
deny:
- regex: '^$CI_MERGE_REQUEST_PROJECT_URL/(-/)?merge_requests/$CI_MERGE_REQUEST_IID$'
message: Commit message must not contain a link to its own merge request