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/-/merge_requests/1544>
This commit is contained in:
Florian Müllner 2020-12-15 17:57:12 +01:00
parent 33f166b44e
commit da09c67600
3 changed files with 11 additions and 76 deletions

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