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

Conditionally change commit title/body? #353

Open
shouichi opened this issue Nov 4, 2022 · 0 comments
Open

Conditionally change commit title/body? #353

shouichi opened this issue Nov 4, 2022 · 0 comments

Comments

@shouichi
Copy link

shouichi commented Nov 4, 2022

Background: We always squash merge when merging PRs. When merging a PR, its title and body are used as a commit title and body respectively. The problem with this setup is merging PRs from bots such as dependabot. They open PRs with very large bodies which are not desirable for commit messages.

Possible Solution

Provide a way to merge PRs with the same method (e.g., squash) but with different options. For example, PR title/body are used when merging PRs from humans but the first commit is used when merging PRs from bots.

Thank you.

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

No branches or pull requests

1 participant