Skip to content

Commit fed1455

Browse files
committed
wip
Signed-off-by: Daniel Gomez <[email protected]>
1 parent 3df5d1b commit fed1455

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/kdevops.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,9 @@ jobs:
207207
git fetch --depth=1 origin refs/pull/${{ github.event.number }}/head:pr-branch
208208
git checkout pr-branch
209209
else
210-
git checkout ${{ github.sha }}
210+
# For push events, checkout the branch head instead of specific SHA
211+
git fetch --depth=1 origin ${{ github.ref }}
212+
git checkout FETCH_HEAD
211213
fi
212214
213215
- name: Report kdevops commit information

0 commit comments

Comments
 (0)