[gnome-shell-extensions/check-commits] ci: Check for issue/MR URLs in commit messages
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-extensions/check-commits] ci: Check for issue/MR URLs in commit messages
- Date: Fri, 15 Feb 2019 23:02:40 +0000 (UTC)
commit 3da62c030723419f224f56a99ad0f3d0bb597851
Author: Florian Müllner <fmuellner gnome org>
Date: Fri Feb 15 23:59:36 2019 +0100
ci: Check for issue/MR URLs in commit messages
Commit messages should include the full URL to an issue or merge
request to keep associated information easily available in future
log digging.
Jonas came up with a script to enforce that policy for mutter and
gnome-shell. It's an excellent idea, so adopt it here as well.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/52
.gitlab-ci.yml | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index af003a1..aeeb3db 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,15 +1,31 @@
stages:
+ - commit_check
- source_check
- build
variables:
LINT_LOG: "eslint-report.txt"
+.only_default: &only_default
+ only:
+ - branches
+ - tags
+ - merge_requests
+
+check_commit_log:
+ registry.gitlab.gnome.org/gnome/gjs:fedora.static-analysis
+ stage: commit_check
+ script:
+ - ./.gitlab-ci/check-commit-log.sh
+ only:
+ - merge_requests
+
eslint:
image: registry.gitlab.gnome.org/gnome/gjs:fedora.static-analysis
stage: source_check
script:
- sh lint/generate-report.sh -o $LINT_LOG || { cat $LINT_LOG; false; }
+ <<: *only_default
artifacts:
paths:
- ${LINT_LOG}
@@ -23,3 +39,4 @@ build-shell-extensions:
script:
- meson _build .
- ninja -C _build test install
+ <<: *only_default
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]