We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22657c6 commit 19cfc12Copy full SHA for 19cfc12
.github/workflows/tf-autosquash.yml
@@ -79,7 +79,11 @@ jobs:
79
env:
80
EDITOR: 'true' # to automatically complete the interactive rebase
81
run: |
82
+ # determine and print PR base ref
83
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
87
git fetch origin
88
git rebase -i --autosquash origin/$BASE_REF
89
0 commit comments