Skip to content

Commit 19cfc12

Browse files
committed
ci: add debug statements to autosquash
1 parent 22657c6 commit 19cfc12

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/tf-autosquash.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,11 @@ jobs:
7979
env:
8080
EDITOR: 'true' # to automatically complete the interactive rebase
8181
run: |
82+
# determine and print PR base ref
8283
BASE_REF=$(gh pr view ${{ github.event.issue.number }} --json baseRefName -q .baseRefName)
84+
echo "Identified PR base ref: $BASE_REF"
85+
# print current commit
86+
git log -1 --oneline
8387
git fetch origin
8488
git rebase -i --autosquash origin/$BASE_REF
8589

0 commit comments

Comments
 (0)