ci: don't run pipelines in forks
Currently our CI setup has a downside: for each push on a merge request, two pipelines are triggered. The first is triggered in the context of the forked repository, and the second is triggered in the context of the MR in the parent repository. Replace the workflow rules with the ones in the official docs [1], so that a branch pipeline isn't triggered when a MR exists for that branch. [1]: https://docs.gitlab.com/ee/ci/yaml/workflow.html#switch-between-branch-pipelines-and-merge-request-pipelines Signed-off-by: Simon Ser <contact@emersion.fr> Fixes: fbf7fc35 ("ci: use detached CI pipelines")
parent
c5b47dc9
Loading
Loading
Pipeline
#1173444
passed
with stages
in
1 minute and 7 seconds
Loading
Please register or sign in to comment