Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openldap
OpenLDAP
Commits
95f0a208
Commit
95f0a208
authored
Sep 02, 2021
by
Quanah Gibson-Mount
Browse files
Avoid duplicate pipeline runs for merge requests
parent
c66c9f87
Pipeline
#3446
canceled with stage
in 39 minutes and 57 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
95f0a208
...
...
@@ -2,7 +2,9 @@ workflow:
rules
:
-
if
:
'
$CI_COMMIT_REF_NAME
==
"master"
&&
$CI_PROJECT_NAMESPACE
!=
"openldap"'
when
:
never
-
if
:
'
$CI_COMMIT_REF_NAME
==
"OPENLDAP_REL_ENG_2_5"
&&
$CI_PROJECT_NAMESPACE
!=
"openldap"'
-
if
:
'
$CI_COMMIT_REF_NAME
=~
/^OPENLDAP_REL_ENG_/
&&
$CI_PROJECT_NAMESPACE
!=
"openldap"'
when
:
never
-
if
:
'
$CI_PIPELINE_SOURCE
==
"push"
&&
$CI_COMMIT_BRANCH
&&
$CI_OPEN_MERGE_REQUESTS'
when
:
never
-
when
:
always
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment