Skip to content

Fix sub-nested labels detection

What does this MR do and why?

This will fix a scheduled policy run that was failing with sub-nested labels such as group::distributionbuild.

Expected impact & dry-runs

These are strongly recommended to assist reviewers and reduce the time to merge your change.

See https://gitlab.com/gitlab-org/quality/triage-ops/-/tree/master/doc/scheduled#testing-policies-with-a-dry-run on how to perform dry-runs for new policies.

See https://gitlab.com/gitlab-org/quality/triage-ops/-/blob/master/doc/reactive/best_practices.md#use-the-sandbox-to-test-new-processors on how to make sure a new processor can be tested.

Action items

Closes #1446 (closed)

Edited by Rémy Coutable

Merge request reports