mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
.gitlab-ci.yml: run pipeline in merge requests too
Hopefully this will allow us to run pipelines in regular branches but also run it on merge requests on the parent project. This is needed for users that are not verified by Gitlab. https://docs.gitlab.com/ee/ci/pipelines/merge_request_pipelines.html#run-pipelines-in-the-parent-project
This commit is contained in:
parent
7dc167ea48
commit
248e5673ef
1 changed files with 6 additions and 0 deletions
|
@ -4,6 +4,12 @@ image: ubuntu:latest
|
||||||
# XXX - add a deploy stage to publish man pages, docs, and coverage
|
# XXX - add a deploy stage to publish man pages, docs, and coverage
|
||||||
# reports
|
# reports
|
||||||
|
|
||||||
|
workflow:
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
|
||||||
|
- if: $CI_COMMIT_TAG
|
||||||
|
- if: $CI_COMMIT_BRANCH
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
- test
|
- test
|
||||||
|
|
Loading…
Add table
Reference in a new issue