mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
ci/update: drop empty commits on re-apply
This commit is contained in:
parent
05981008b7
commit
4b0de83c39
1 changed files with 4 additions and 1 deletions
5
.github/workflows/update.yml
vendored
5
.github/workflows/update.yml
vendored
|
@ -170,7 +170,10 @@ jobs:
|
|||
if [[ -n "$commits" ]]; then
|
||||
echo "Applying ${#commits[@]} commits..."
|
||||
echo "count=${#commits[@]}" >> $GITHUB_OUTPUT
|
||||
git cherry-pick --strategy-option=theirs "${commits[@]}"
|
||||
git cherry-pick \
|
||||
--strategy-option=theirs \
|
||||
--empty=drop \
|
||||
"${commits[@]}"
|
||||
else
|
||||
echo "Nothing to re-apply"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue