mirror of
https://github.com/creyD/prettier_action.git
synced 2026-04-16 05:10:31 +02:00
Readded no-edit option for bugfixing
This commit is contained in:
@@ -51,7 +51,7 @@ if _git_changed; then
|
|||||||
# Commit and push changes back
|
# Commit and push changes back
|
||||||
if $INPUT_SAME_COMMIT; then
|
if $INPUT_SAME_COMMIT; then
|
||||||
echo "Amending the current commit..."
|
echo "Amending the current commit..."
|
||||||
git commit --amend
|
git commit --amend --no-edit
|
||||||
else
|
else
|
||||||
if $INPUT_ONLY_CHANGED; then
|
if $INPUT_ONLY_CHANGED; then
|
||||||
for file in $(git diff --name-only HEAD^..HEAD)
|
for file in $(git diff --name-only HEAD^..HEAD)
|
||||||
|
|||||||
Reference in New Issue
Block a user