<div dir="ltr"><div dir="ltr">On Mon, Aug 11, 2025 at 2:31 AM Nate Graham <<a href="mailto:nate@kde.org">nate@kde.org</a>> wrote:</div><div class="gmail_quote gmail_quote_container"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 8/10/25 8:06 AM, Nate Graham wrote:<br>
> On 8/7/25 1:06 PM, Ben Cooksley wrote:<br>
>> On Fri, Aug 8, 2025 at 2:55 AM Nate Graham <<a href="mailto:nate@kde.org" target="_blank">nate@kde.org</a> <br>
>> <mailto:<a href="mailto:nate@kde.org" target="_blank">nate@kde.org</a>>> wrote:<br>
> <br>
>>     Is this working? I'm not seeing it happen. When a Plasma-aligned <br>
>> merge<br>
>>     request is approved and then rebased, pipelines still aren't starting<br>
>>     automatically.<br>
>><br>
>><br>
>> Links to affected MRs would be helpful please :)<br>
> <br>
> Here's an example: <a href="https://invent.kde.org/plasma/plasma-workspace/-/" rel="noreferrer" target="_blank">https://invent.kde.org/plasma/plasma-workspace/-/</a> <br>
> merge_requests/5743<br>
<br>
And another: <br>
<a href="https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/3149" rel="noreferrer" target="_blank">https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/3149</a><br>
<br>
None of them seem to be running all pipelines automatically after <br>
rebasing following an approval.<br></blockquote><div><br></div><div>Unfortunately the variable in question we were trying to rely on, CI_MERGE_REQUEST_APPROVED is exclusive to Enterprise Edition:</div><div><br></div><div>ben@sapphire:~/workspace/gitlab> grep -ir CI_MERGE_REQUEST_APPROVED *<br>ee/app/models/ee/merge_request.rb:          variables.append(key: 'CI_MERGE_REQUEST_APPROVED', value: approved?.to_s) if approved?<br></div><div><br></div><div>As such that functionality is not available to us.</div><div><br></div><div>This means the options available to us are:</div><div>- Using a custom label (accessible via CI_MERGE_REQUEST_LABELS)</div><div>- Making use of the functionality to mark merge requests as draft until they're actually ready for merging (accessible via CI_MERGE_REQUEST_DRAFT)</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Nate<br></blockquote><div><br></div><div>Thanks,</div><div>Ben </div></div></div>