Skip to content

Commit 4638afc

Browse files
committed
Use --force-with-lease to avoid unexpected force pushes
1 parent e2c60a2 commit 4638afc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,5 @@ if [[ $allow_empty_commits == 'true' ]]; then
5555
else
5656
git diff-index --quiet HEAD || git commit -m "$commit_message" # use `git diff-index --quiet HEAD ||` to avoid error
5757
fi
58-
git push -fv aur master
58+
git push --force-with-lease -v aur master
5959
echo '::endgroup::'

0 commit comments

Comments
 (0)