Skip to content
Prev Previous commit
Next Next commit
Configured bors to use squash merge
  • Loading branch information
fhennig committed Dec 21, 2021
commit dbd742c6bfd449d9e6048d3c36c52edc010d072f
1 change: 1 addition & 0 deletions template/bors.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ status = [
'Run cargo deny (bans licenses sources)'
]
delete_merged_branches = true
use_squash_merge = true
Copy link
Contributor

Choose a reason for hiding this comment

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

We had issues where squash merges didn't close the PR properly.

I'm also curious about what use-case you're trying to solve with squashing? Git itself can show the history as if every merge was a squash with git log --first-parent.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That was mostly to emulate how we did it before I thought maybe it was on accident that you missed that. I also kind of liked that all my "WIP" commits don't show up in the final thing but I'm happy either way

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've removed it for now

pr_status = [ 'license/cla' ]
timeout_sec = 7200
cut_body_after = "<!-- Commit message above. Everything below is not added to the message. Do not change this line! -->"
Copy link
Contributor

Choose a reason for hiding this comment

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

👍