merge: branch 'ih/ensure-ci-external-contributor'

triage: ensure that CI is run for MRs from community

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/2041
This commit is contained in:
Íñigo Huguet
2024-09-26 08:40:21 +00:00

View File

@@ -1,3 +1,5 @@
# Gitlab-triage documentation: https://gitlab.com/gitlab-org/ruby/gems/gitlab-triage/-/blob/master/README.md
host_url: https://gitlab.freedesktop.org
resource_rules:
@@ -182,3 +184,47 @@ resource_rules:
Work is necessary to move it forward.
labels:
- stale
- name: Label for MRs authored by core contributors (member_of project)
conditions:
state: opened
forbidden_labels:
- core-contributor
- community-contributor
author_member:
source: project
condition: member_of
source_id: NetworkManager/NetworkManager
actions:
labels:
- core-contributor
- name: Label for MRs authored by core contributors (member_of group)
conditions:
state: opened
forbidden_labels:
- core-contributor
- community-contributor
author_member:
source: group
condition: member_of
source_id: NetworkManager
actions:
labels:
- core-contributor
- name: Label for MRs authored by community contributors and ensure CI is run
conditions:
state: opened
forbidden_labels:
- core-contributor
- community-contributor
actions:
labels:
- community-contributor
comment_type: thread
comment: >-
Atention maintainers: remember to run the CI!!
This MR is authored by a contributor from the community and the CI does not
run automatically.