summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorThibault Saunier <tsaunier@igalia.com>2023-02-16 00:30:15 -0300
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>2023-02-24 00:22:19 +0000
commit5586511446a9988af7b5e19b61c151b5d1111691 (patch)
treeacc629bcc3a1473ca846c3c0283983ef2b2fc27b /ci
parentfb076db1b2a48f7e07bc851c4d4f72a3d269a109 (diff)
downloadgstreamer-5586511446a9988af7b5e19b61c151b5d1111691.tar.gz
ci: Add a job to verify commit messages on MRs
This uses [gitlint] and is based on their linting rules with some minor config so it matches our style pretty well. [gitlint]: https://jorisroovers.com/gitlint/#configuration Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3980>
Diffstat (limited to 'ci')
-rwxr-xr-xci/docker/lint/prepare.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/ci/docker/lint/prepare.sh b/ci/docker/lint/prepare.sh
new file mode 100755
index 0000000000..439d81706d
--- /dev/null
+++ b/ci/docker/lint/prepare.sh
@@ -0,0 +1,4 @@
+set -eux
+
+python3 -m pip install gitlint
+