From 2cb20849a3cf02f4f10d21755a732d7170b2e136 Mon Sep 17 00:00:00 2001 From: Rainer Kartmann <rainer.kartmann@kit.edu> Date: Thu, 26 Jan 2023 10:03:19 +0100 Subject: [PATCH] Only trigger ArmarX when pushing to the master branch --- .gitlab-ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e6d1c1448..3ce472049 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -102,4 +102,8 @@ armarx-core: trigger: project: sw/armarx/armarx-core - branch: master # This is optional + # This is optional, but we could tell ArmarX which Simox branch to use. + branch: master + + rules: + - if: $CI_COMMIT_BRANCH == "master" -- GitLab