Commit e5d6a28
committed
fix(pull_requests): set default merge_method to 'merge' when not provided
When merge_method is not provided, default to 'merge' instead of
passing an empty string to the GitHub API, which could cause the
405 'Merge commits are not allowed' error on repos with squash/rebase
only settings.
Closes #22581 parent 3a6a6f6 commit e5d6a28
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1307 | 1307 | | |
1308 | 1308 | | |
1309 | 1309 | | |
| 1310 | + | |
| 1311 | + | |
| 1312 | + | |
1310 | 1313 | | |
1311 | 1314 | | |
1312 | 1315 | | |
| |||
0 commit comments