Skip to content

Commit 8fb2682

Browse files
committed
Update auto-merge to use squash option
1 parent 48b345d commit 8fb2682

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/auto-merge.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3434

3535
- name: Enable auto-merge
36-
run: gh pr merge --auto --merge "$PR_URL"
36+
run: gh pr merge --auto --squash "$PR_URL"
3737
env:
3838
PR_URL: ${{ github.event.pull_request.html_url }}
39-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39+
GITHUB_TOKEN: ${{ secrets.PERSONAL_TOKEN || secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)