Force push auto-commits to bypass branch protection status checks

PiperOrigin-RevId: 539109983
pull/13016/head
Mike Kruskal 2 years ago
parent 02c5b2873d
commit d8e0fb7912
  1. 4
      push_auto_update.sh

@ -39,7 +39,7 @@ else
commit_message="Auto-generate files"
fi
git pull --rebase
git add -A
git diff --staged --quiet || git commit -am "$commit_message"
git push
git pull --rebase
git push --force-with-lease || echo "Conflicting commit hit, retrying in next job..."

Loading…
Cancel
Save