Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove requirement to create PRs from calendar repo #1360

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

traviscross
Copy link
Contributor

@traviscross traviscross commented Feb 29, 2024

The calendar repository is used to maintain the calendar events for various teams.

For some teams, it's important that the friction for adding or updating calendar events be low, as otherwise team members start looking for or using alternate calendaring solutions. Keeping this friction as low as possible is probably more important, in this case, than the benefits that we're getting from requiring PRs as part of the branch protection. So let's remove that requirement.

The other option here would be to instead add required-approvals = 0 to the branch protection. This would require creating PRs but would avoid the need for a separate reviewer.

This is an option, but it would still increase the friction a bit, and it therefore seems net-better to just remove the need to create PRs. Many other repositories here operate without branch protection at all without that creating any substantial problems. In cases where someone thinks that something deserves a PR, e.g. so it can be discussed, that person can still of course create one. But we don't need to require it.

For a calendar, the speed at which it can be updated is often the most important property.

Copy link
Member

@rylev rylev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we'll want to wait for #1359 to land so that the branch can be protected (e.g., making it not deletable) but still not requiring a PR.

@traviscross traviscross force-pushed the TC/remove-branch-protection-on-calendar-repo branch from 5817096 to 8512330 Compare March 5, 2024 22:12
The calendar repository is used to maintain the calendar events for
various teams.

For some teams, it's important that the friction for adding or
updating calendar events be low, as otherwise team members start
looking for or using alternate calendaring solutions.  Keeping this
friction as low as possible is probably more important, in this case,
than the benefits that we're getting from requiring PRs as part of the
branch protection.  So let's remove that requirement.

The other option here would be to instead add `required-approvals = 0`
to the branch protection.  This would require creating PRs but would
avoid the need for a separate reviewer.

This is an option, but it would still increase the friction a bit, and
it therefore seems net-better to just remove the need to create PRs.
Many other repositories here operate without branch protection at all
without that creating any substantial problems.  In cases where
someone thinks that something deserves a PR, e.g. so it can be
discussed, that person can still of course create one.  But we don't
need to require it.

For a calendar, the speed at which it can be updated is often the most
important property.
@traviscross traviscross force-pushed the TC/remove-branch-protection-on-calendar-repo branch from 8512330 to b133df2 Compare March 5, 2024 22:13
@traviscross traviscross changed the title Remove branch protection from calendar repo Remove requirement to create PRs from calendar repo Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants