We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0824de1 commit 5971375Copy full SHA for 5971375
1 file changed
.github/workflows/formatter.yml
@@ -37,7 +37,10 @@ jobs:
37
git add -A
38
if ! git diff --cached --quiet; then
39
git commit -m "Apply Spotless formatting"
40
- git pull --rebase --autostash origin ${{ github.ref_name }}
+ if ! git pull --rebase --autostash origin ${{ github.ref_name }}; then
41
+ echo "❌ Rebase failed; manual intervention required."
42
+ exit 1
43
+ fi
44
git push origin HEAD:${{ github.ref_name }}
45
else
46
echo "✅ No formatting changes to commit."
0 commit comments