Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.com>2020-06-11 16:17:33 +0300
committerGuillaume Desmottes <guillaume.desmottes@collabora.com>2020-06-15 11:25:09 +0300
commit61f76548bcf8a7c9313ba29b3af6be01564fb127 (patch)
treef73740091b44cb8d990a5fd1a89517ccc2a6674e
parente85799b9d6ba89e3f3e76a5d092bc7145121af03 (diff)
ci: check commit using ci-fairy
See https://freedesktop.pages.freedesktop.org/ci-templates/ci-fairy.html#checking-commits In this setup it will check for any leftover fixup!/squash! commits and that messages don't have the 'Signed-off-by:' tag.
-rw-r--r--.gitlab-ci.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4838d7f0a..e7c5948fa 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -157,6 +157,14 @@ rustfmt:
- cargo fmt --version
- cargo fmt -- --color=always --check
+check commits:
+ extends: .img-stable
+ stage: "lint"
+ rules:
+ - when: 'always'
+ script:
+ - ci-fairy check-commits --textwidth 0 --no-signed-off-by
+
clippy:
extends: .img-stable
stage: 'extras'