v2022 ← v2023dev1 backports: d/patches: gitlab-rulez: Fix missing settings while applying changes
The apply_changes() function creates lambda functions with a closure over free variables bound at runtime in a loop. Thus, all the Actions are setting the same attribute.
Fix this by assigning the free variables at definition time.
Fixes: https://phabricator.apertis.org/T8029 Signed-off-by: Ariel D'Alessandro ariel.dalessandro@collabora.com