Merge branch 'feature/QA-354_prevent_duplicate_pipelines' into 'develop'

QA-354 Prevent duplicate pipelines for MRs

Closes QA-354

See merge request kasm-technologies/internal/workspaces-core-images!384
This commit is contained in:
Richard Koliser 2026-06-17 13:21:18 +00:00
commit e025bc5c7b

View file

@ -11,6 +11,15 @@ include:
default:
retry: 2
# Prevent duplicate pipelines for push events to branches that also have open MRs
workflow:
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
when: always
- if: $CI_PIPELINE_SOURCE == "push" && $CI_OPEN_MERGE_REQUESTS
when: never
- when: always
stages:
- template
- run