From e1e4231b3136d2e401006ad5230fba844847c67e Mon Sep 17 00:00:00 2001
From: Varac <varac@varac.net>
Date: Thu, 25 Mar 2021 14:54:24 +0100
Subject: [PATCH] Document .app_rules template

---
 .gitlab-ci.yml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6e833d350..35678d87d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -42,6 +42,17 @@
 # ============
 #
 
+# the .app_rules should be used whenever an app-specific job is executed.
+# just add the variable app to the job like this:
+
+#   variables:
+#     APP: "eventrouter"
+
+# and import the template with
+
+#   extends: .app_rules
+
+# .app_rules will ensure that the job is only executed when files related to the app changed in the repo
 .app_rules:
   before_script:
     - *debug_information
-- 
GitLab