We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3df5d1b commit fed1455Copy full SHA for fed1455
.github/workflows/kdevops.yml
@@ -207,7 +207,9 @@ jobs:
207
git fetch --depth=1 origin refs/pull/${{ github.event.number }}/head:pr-branch
208
git checkout pr-branch
209
else
210
- git checkout ${{ github.sha }}
+ # For push events, checkout the branch head instead of specific SHA
211
+ git fetch --depth=1 origin ${{ github.ref }}
212
+ git checkout FETCH_HEAD
213
fi
214
215
- name: Report kdevops commit information
0 commit comments