Skip to content

Commit

Permalink
bcr_pr_reviewer: set merge_method to squash (#2178)
Browse files Browse the repository at this point in the history
To avoid 
```
Failed to merge PR: Merge commits are not allowed on this repository. - https://docs.github.com/rest/pulls/pulls#merge-a-pull-request
```
  • Loading branch information
meteorcloudy authored Feb 10, 2025
1 parent b105624 commit 6dee85d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions actions/bcr-pr-reviewer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ async function reviewPR(octokit, owner, repo, prNumber) {
owner,
repo,
pull_number: prNumber,
merge_method: 'squash',
});

// Add auto-merged label
Expand Down

0 comments on commit 6dee85d

Please sign in to comment.