mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-21 23:29:52 +01:00
Merge branch 'prevent-double-pipelines' into 'master'
Avoid duplicate CI pipelines running at the same time See merge request briar/briar!1443
This commit is contained in:
@@ -5,6 +5,15 @@ stages:
|
|||||||
- optional_tests
|
- optional_tests
|
||||||
- check_reproducibility
|
- check_reproducibility
|
||||||
|
|
||||||
|
workflow:
|
||||||
|
# when to create a CI pipeline
|
||||||
|
rules:
|
||||||
|
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
|
||||||
|
- if: '$CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS'
|
||||||
|
when: never # avoids duplicate jobs for branch and MR
|
||||||
|
- if: '$CI_COMMIT_BRANCH'
|
||||||
|
- if: '$CI_COMMIT_TAG'
|
||||||
|
|
||||||
.base-test:
|
.base-test:
|
||||||
before_script:
|
before_script:
|
||||||
- set -e
|
- set -e
|
||||||
|
|||||||
Reference in New Issue
Block a user