summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuriy Erofeev <yuiry.erofeev@toradex.com>2026-01-05 20:32:14 +0000
committerYuriy Erofeev <yuiry.erofeev@toradex.com>2026-01-05 20:32:14 +0000
commit68f55f88d66c6f24a805bd15aca3c8892be9b5ba (patch)
tree1957fdd5268d1da269c202e7f33177cb78ea35b7
parent2f4882cdbd2903122dfc4908da05f52bf0625408 (diff)
gitlab-ci: Adopt CI for MR workflow to execute it in the scope of parent projecttoradex_ti-linux-6.1.y
Align project workflow with the main concept: execute MR CI pipelines in the scope of the main project. Do not execute CI for MRs in forks. Signed-off-by: Yuiry Erofeev <yuiry.erofeev@toradex.com> (cherry picked from commit 388a80a8c462c20d7a28b72d6ac3cc2ad9194832) Co-authored-by: Yuriy Erofeev <yuiry.erofeev@toradex.com>
-rw-r--r--.gitlab-ci.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a4b2919..a7bb4c4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,3 +1,9 @@
+workflow:
+ rules:
+ - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
+ when: always
+ - when: never
+
stages:
- check-license