Skip to content

Commit

Permalink
Squash merges
Browse files Browse the repository at this point in the history
  • Loading branch information
mokimo committed May 8, 2024
1 parent 60a89ce commit 44b3007
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/merge-to-stage.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,12 @@ const merge = async ({ prs }) => {
}
files.forEach((file) => (SEEN[file] = true));
if (!process.env.LOCAL_RUN)
await github.rest.pulls.merge({ owner, repo, pull_number: number });
await github.rest.pulls.merge({
owner,
repo,
pull_number: number,
merge_method: 'squash',
});
body = `- [${title}](${html_url})\n${body}`;
const isHighImpact = labels.includes(LABELS.highImpact);
if (isHighImpact && process.env.SLACK_HIGH_IMPACT_PR_WEBHOOK) {
Expand Down

0 comments on commit 44b3007

Please sign in to comment.