Skip to content

Commit 4b0de83

Browse files
committed
ci/update: drop empty commits on re-apply
1 parent 0598100 commit 4b0de83

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/update.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,10 @@ jobs:
170170
if [[ -n "$commits" ]]; then
171171
echo "Applying ${#commits[@]} commits..."
172172
echo "count=${#commits[@]}" >> $GITHUB_OUTPUT
173-
git cherry-pick --strategy-option=theirs "${commits[@]}"
173+
git cherry-pick \
174+
--strategy-option=theirs \
175+
--empty=drop \
176+
"${commits[@]}"
174177
else
175178
echo "Nothing to re-apply"
176179
fi

0 commit comments

Comments
 (0)