Skip to content

Commit f626608

Browse files
committed
chore: Fix PR merge commands and include squash and delete-branch options
1 parent eca93c5 commit f626608

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/release-extension.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,10 @@ jobs:
111111
commit-message: "Update README and CHANGELOG for v${{ needs.check_version.outputs.new_version }}"
112112
body: "This PR updates the README and CHANGELOG files for the new version v${{ needs.check_version.outputs.new_version }}."
113113
labels: documentation, release, github-actions
114-
delete-branch: true
115114

116115
- name: Merge Pull Request
117116
id: merge_pr
118-
run: gh pr merge "${{ steps.create_pr.outputs.pull-request-number }}"
117+
run: gh pr merge "${{ steps.create_pr.outputs.pull-request-number }}" --squash --delete-branch
119118
env:
120119
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
121120

0 commit comments

Comments
 (0)