-
Notifications
You must be signed in to change notification settings - Fork 0
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 rules that should be unnecessary #47
Conversation
Code Review for
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, I can't see the reasoning anywhere for which rules were applied.
I've removed the questionable ones with my reasoning but please let me know if there was a reason they were added
@@ -49,11 +49,8 @@ resource "github_organization_ruleset" "default_ruleset" { | |||
required_linear_history = true | |||
|
|||
pull_request { | |||
dismiss_stale_reviews_on_push = true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This rule discourages pushing small changes and fixups as you have to go chasing reviews again
What was the reason this was enabled?
require_code_owner_review = false | ||
required_approving_review_count = 1 | ||
require_last_push_approval = true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This rule discourages tidy ups for getting a change over the line, say:
Committer A makes change
Committer B tidies up, maybe fixing linting
Now A & B can't approve
This slows things down
Why was this added?
Jira link
See PROJ-XXXXXX
Change description
Testing done
Checklist
🤖AEP PR SUMMARY🤖
components/main.tf
dismiss_stale_reviews_on_push
attribute from thegithub_organization_ruleset
resource configuration.require_code_owner_review
attribute tofalse
.