Skip to content

Commit

Permalink
Enforce squashing while merging PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
vy committed Jul 17, 2024
1 parent 6b7751e commit 32a8692
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .asf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@ github:

del_branch_on_merge: true

# Enforce squashing while merging PRs.
# Otherwise, the git log gets polluted severely.
enabled_merge_buttons:
squash: true
merge: false
rebase: false

# Prevent force pushes to primary branches
protected_branches:
main:
Expand Down

0 comments on commit 32a8692

Please sign in to comment.