>
>
> > Every PR requires at least one approval to be merged.
>
> Can anybody approve the PR or does it have to be another committer?
>

Today, any committer can approve. It's possible to define owner of module
or original author and request approval (it's what it's used in Apache Beam
for instance). However, regarding our bandwidth in ActiveMQ, any committer
approval is good enough.


>
> > Improve the onboarding experience for new contributors via guidance and
> feedback.
>
> PRs are already required for any non-committer, right? If so, does
> this meaningfully change the "onboarding experience"?
>

Because no review was especially required, so, it would have been easy to
just click on merge without deep review.


>
> > Ensure CI validation before merging...
>
> Which part of the config enforces CI validation?
>

On ActiveMQ, we run CI but CI validation is not a blocker for merge,
because we had a lot of flaky tests (much much better today).
For instance, Karaf requests CI validation to merge, that's the context:
https://github.com/apache/karaf/blob/main/.asf.yaml#L43


>
> The behavior of many of the configuration options are obvious based on
> their names, but a few aren't and the documentation [1] provides no
> additional details. Can you elaborate on what the following do (or
> point me to documentation which does)?
>
>  - dismiss_stale_reviews
>  - require_last_push_approval
>  - required_linear_history
>
> Each of these is configured in the current .asf.yaml.
>

Basically the .asf.yaml file is a file to configure GitHub, as we don't
have permission to access the GitHub Settings (only the infra can).

So, you can find the corresponding configuration on the GitHub
documentation:
https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/managing-a-branch-protection-rule

dismiss_stale_reviews:
https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/dismissing-a-pull-request-review
require_last_push_approval:
https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/managing-a-branch-protection-rule#require-pull-request-reviews-before-merging
(section about last review)
required_linear_history:
https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/about-protected-branches#require-linear-history

Regards
JB


>
>
> Justin
>
> [1] https://github.com/apache/infrastructure-asfyaml
>
> On Tue, Apr 14, 2026 at 12:26 PM Jean-Baptiste Onofré <[email protected]>
> wrote:
> >
> > Hi everyone,
> >
> > Branch protection was enabled on the main branch on January 10, and
> > subsequently applied to the activemq-6.2.x and activemq-5.19.x branches
> on
> > February 19.
> >
> > As this impacts all contributors, this is a topic we should have
> discussed
> > collectively. I apologize for not bringing it to the list sooner.
> >
> > You can view the current configuration here:
> > https://github.com/apache/activemq/blob/main/.asf.yaml#L40
> >
> > Under this configuration:
> >
> > 1. Direct pushes are no longer permitted (including via GitBox). All
> > changes must go through a PR.
> > 2. Every PR requires at least one approval to be merged.
> >
> > The goals of these changes are to:
> >
> > 1. Increase overall quality through peer reviews.
> > 2. Foster better collaboration.
> > 3. Improve the onboarding experience for new contributors via guidance
> and
> > feedback.
> > 4. Ensure CI validation before merging (which was previously disabled due
> > to flaky tests).
> >
> > I recognize this represents a shift in our workflow, specifically because
> > direct pushes are restricted and even minor changes now require a PR. For
> > rare cases where a direct push is necessary (such as updating build
> > contexts in .asf.yaml), we can coordinate with Infra to temporarily relax
> > these protections.
> >
> > Personally, after three months of using this workflow, I have seen many
> > positive results. However, if you have concerns, please share your
> comments
> > so we can discuss whether to adjust or disable these settings.
> >
> > Thanks
> > Regards,
> > JB
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> For further information, visit: https://activemq.apache.org/contact
>
>
>

Reply via email to