Skip to content

Commit d0d2cf2

Browse files
committed
ci: add/update workflow for autosquash on PRs
1 parent 3c8291b commit d0d2cf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/tf-autosquash.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
run: |
9090
BASE_REF=$(gh pr view ${{ github.event.issue.number }} --json baseRefName -q .baseRefName)
9191
git fetch origin
92-
git rebase -i --autosquash origin/$BASE_REF
92+
git rebase -i --autosquash --empty=drop origin/$BASE_REF
9393
9494
- name: Replace renovate author to prevent renovate overriding changes
9595
env:

0 commit comments

Comments
 (0)