Skip to content

Commit 145b4bc

Browse files
committed
ci: add/update workflow for autosquash on PRs
1 parent 5a75874 commit 145b4bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/tf-autosquash.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3434
with:
3535
token: ${{ steps.app-token.outputs.token || github.token }}
36+
fetch-depth: 0 # otherwise rebase will fail if PR is not based on the latest commit
3637

3738
- name: Determine PR head repo owner
3839
run: |

0 commit comments

Comments
 (0)