mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-27 19:50:44 +01:00
gitlab: adjust ci.template
The recommendations from freedesktop [1] about how to maintain a Gitlab project changed therefore we must adapt the rules. Solves: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/1549 [1] https://gitlab.freedesktop.org/freedesktop/freedesktop/-/issues/540#what-it-means-for-me-a-maintainer-of-a-project-part-of-gitlabfreedesktoporg
This commit is contained in:
parent
fdc6ac38f8
commit
2b3aa71d8c
1 changed files with 3 additions and 1 deletions
|
|
@ -267,5 +267,7 @@ clean-images:
|
|||
workflow:
|
||||
rules:
|
||||
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
|
||||
- if: $CI_PIPELINE_SOURCE == 'push'
|
||||
- if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS
|
||||
when: never
|
||||
- if: $CI_COMMIT_BRANCH
|
||||
- if: $CI_PIPELINE_SOURCE == 'schedule'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue