Support automatic merge after license scan
Currently ci-package-builder support automatic merge of updates on minor changes, like only afecting changelog and d/apertis. However, if the license scan is triggered the automatic merge is cancelled, causing the feature not to be useflu.
To overcome the issue, before pushing the new commit to update the license report, check if the MR was set to merge_when_pipeline_succeeds, and in that case, force that opton in the push.
As an intial tests, run this only for v2024dev2, which is the branch used for the rebase.
https://phabricator.apertis.org/T9521
Signed-off-by: Walter Lozano walter.lozano@collabora.com