format-and-aborb: try setting git editor
Jörg Thalheim committed
Jun 13, 2025 at 10:34 UTC
78e7947d8cdaef8cef455893eb7f1ad3398b4871
1 file changed
+4
-2
.github/scripts/format-and-absorb.sh
+4
-2
@@ -21,8 +21,10 @@ echo "::group::Running git absorb"
21
git add -A
22
# Create fixup commits
23
git absorb --force --base origin/main
24
-# Then do a non-interactive autosquash rebase
25
-GIT_SEQUENCE_EDITOR=: git rebase -i --autosquash origin/main
24
+# Configure git to use non-interactive editors
25
+git config core.editor ':'
26
+# Then do an autosquash rebase
27
+git rebase --autosquash origin/main
28
echo "::endgroup::"
29
30
echo "::group::Pushing changes"