Yup, you need to go in the settings -> options. Then scroll to the "Merge
Button" section, you have a the option "Allow auto-merge":

[image: image.png]

Le ven. 26 nov. 2021 à 11:10, Matthias Rampke <[email protected]> a
écrit :

> Ah, I didn't understand at first that this is a per-pull-request thing.
> What is the right way to enable this? Do I change the repository
> configuration by hand?
>
> /MR
>
> On Thu, Nov 25, 2021 at 5:16 PM Julien Pivotto <[email protected]>
> wrote:
>
>> Hello,
>>
>> I have enabled "auto merge" in prometheus/prometheus with the following
>> checks:
>>
>> build
>> test_mixins
>> test_windows
>> test_go
>> test_ui
>> Fuzzing
>> lint
>>
>> It's an experiment, we can revert if we wish. Also, it's opt in per pull
>> request ofc.
>>
>> On 25 Nov 09:44, Levi Harrison wrote:
>> > Hi Augustin,
>> >
>> > That's one thing I was slightly confused about. In the official
>> > documentation (
>> >
>> https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request
>> )
>> > it says "when all required reviews are met and status checks have
>> passed",
>> > which makes me think that it doesn't take the "required status check"
>> > distinction into consideration, instead just waiting for all of them to
>> > pass, required or not. I agree with you that for auto-merge all jobs
>> should
>> > be mandatory.
>> >
>> > Thanks,
>> > Levi
>> >
>> > On Thu, Nov 25, 2021 at 9:32 AM Augustin Husson <
>> [email protected]>
>> > wrote:
>> >
>> > > Hi Levi,
>> > >
>> > > From my point of view, yeah it's safe to activate it. But before doing
>> > > that, maybe we should take a look at the different jobs and figure out
>> > > which one are mandatory ? Probably all jobs are mandatory (that's my
>> > > feeling at least).
>> > >
>> > > Cheers,
>> > > Augustin.
>> > >
>> > > Le jeu. 25 nov. 2021 à 15:24, Levi Harrison <
>> [email protected]>
>> > > a écrit :
>> > >
>> > >> Hi all,
>> > >>
>> > >> Picking up the previous thread (
>> > >>
>> https://groups.google.com/g/prometheus-developers/c/tPLOmT9pnBw/m/kxLn0q59AgAJ
>> ),
>> > >> I'd like to re-propose allowing auto-merge as a merge option.
>> > >>
>> > >> Auto-merge is a merge option, to be used in conjugation with other
>> merge
>> > >> options like squash merge, that once "enabled" for a pull request
>> (the same
>> > >> action as clicking the merge button), will automatically merge the
>> pull
>> > >> request once all checks have passed and required approvals have been
>> > >> submitted. If more commits are added by contributors without write
>> access
>> > >> in the period between when auto-merge is enabled and the PR is
>> merged,
>> > >> auto-merge will be canceled.
>> > >>
>> > >> Auto-merge won't just merge any PR once it's green, it requires the
>> same
>> > >> intentional action from a maintainer as regularly merging a PR does.
>> > >> Auto-merge also doesn't equate an approval as a merge action, unless
>> it is
>> > >> one of the requirements to merge and auto-merge is enabled. I
>> believe we
>> > >> only require approvals on release branches, so only if a maintainer
>> has
>> > >> decided to enable auto-merge for a PR to a release branch would an
>> approval
>> > >> ever cause a PR to be auto-merged.
>> > >>
>> > >>
>> > >>
>> https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request
>> > >>
>> > >> Personally, I could see this being useful when myself or a
>> contributor
>> > >> has just pushed to PR and I want to merge it, but also can't sit
>> around for
>> > >> 20 minutes until all the checks pass.
>> > >>
>> > >> Thanks (and congratulations to all the new team members),
>> > >> Levi
>> > >>
>> > >> --
>> > >> You received this message because you are subscribed to the Google
>> Groups
>> > >> "Prometheus Developers" group.
>> > >> To unsubscribe from this group and stop receiving emails from it,
>> send an
>> > >> email to [email protected].
>> > >> To view this discussion on the web visit
>> > >>
>> https://groups.google.com/d/msgid/prometheus-developers/b32fd1fc-2e43-4177-a17f-7b7207ff2d42n%40googlegroups.com
>> > >> <
>> https://groups.google.com/d/msgid/prometheus-developers/b32fd1fc-2e43-4177-a17f-7b7207ff2d42n%40googlegroups.com?utm_medium=email&utm_source=footer
>> >
>> > >> .
>> > >>
>> > >
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> Groups "Prometheus Developers" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> an email to [email protected].
>> > To view this discussion on the web visit
>> https://groups.google.com/d/msgid/prometheus-developers/CAJrMkW6uv8p_Mhffk2LwEuPZmNb0qBDQrVuQb1HxNqTc-mdG3A%40mail.gmail.com
>> .
>>
>> --
>> Julien Pivotto
>> @roidelapluie
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Prometheus Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/prometheus-developers/20211125171629.GA774651%40hydrogen
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-developers/CAOJizGfHUbY23145RvRW5icZBXBSwkKGEqM%2BnLVbT73rYKny%2Bg%40mail.gmail.com.

Reply via email to