Oh I was more meaning to check which job should be marked as "required". Like it is the case for the job "ci/circleci:build"
And in the end of the sentence you "status checks have passed". Which I'm pretty sure is matching the job marked as "required". So that's I was saying maybe before activating the auto-merge, we should decide which CI jobs are required. Le jeu. 25 nov. 2021 à 15:44, Levi Harrison <[email protected]> a écrit : > 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/CAOJizGeNThyc936vCoAXya0ZrO6%2B%3Dqqjuu3x5a-E%3DDbT8d8NMg%40mail.gmail.com.

