diff options
author | Roman Stratiienko <r.stratiienko@gmail.com> | 2023-09-20 00:17:39 +0300 |
---|---|---|
committer | Roman Stratiienko <r.stratiienko@gmail.com> | 2023-09-20 00:23:32 +0300 |
commit | dddbb4eaeb5b1b71f74d8e0582537988b11acbb6 (patch) | |
tree | dc4db9fd8de85f5919a9ca8b213a3942e1acc9e3 | |
parent | 87b716c07097d0979ac7544641fd49a55f868278 (diff) | |
download | drm_hwcomposer-dddbb4eaeb5b1b71f74d8e0582537988b11acbb6.tar.gz |
drm_hwcomposer: CI: Enable merge request pipelines
Now, freedesktop forbids running user pipelines to avoid hacker attacks.
This change will ensure that only the drm_hwcomposer project runs the
pipeline.
Change-Id: I87b58c87b41cfd31fb41c49c0faf399950b95022
Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
-rw-r--r-- | .gitlab-ci.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1836bd5..80b010a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,10 @@ image: ubuntu:23.04 +workflow: + rules: + - if: $CI_PIPELINE_SOURCE == 'merge_request_event' + - if: $CI_PIPELINE_SOURCE == 'push' + variables: DEBIAN_FRONTEND: noninteractive |