Skip to content

Commit 4864e0b

Browse files
committed
ci: add/update workflow for autosquash on PRs
1 parent dd6bce4 commit 4864e0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/tf-autosquash.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,15 +85,15 @@ jobs:
8585
8686
- name: Perform interactive rebase with autosquash
8787
env:
88-
EDITOR: 'true' # to automatically complete the interactive rebase
88+
EDITOR: "true" # to automatically complete the interactive rebase
8989
run: |
9090
BASE_REF=$(gh pr view ${{ github.event.issue.number }} --json baseRefName -q .baseRefName)
9191
git fetch origin
9292
git rebase -i --autosquash --empty=drop origin/$BASE_REF
9393
9494
- name: Replace renovate author to prevent renovate overriding changes
9595
env:
96-
EDITOR: 'true' # to automatically complete the amend
96+
EDITOR: "true" # to automatically complete the amend
9797
run: |
9898
COMMIT_AUTHOR=$(git log -1 --pretty=format:"%an")
9999
if [ "$COMMIT_AUTHOR" = "renovate[bot]" ] || [ "$COMMIT_AUTHOR" = "we-renovate[bot]" ]; then

0 commit comments

Comments
 (0)