From 4449ec2f27d0109107f7d57ccc4a798eb9e3a5e3 Mon Sep 17 00:00:00 2001 From: Conrad Date: Wed, 6 May 2020 10:52:19 +0200 Subject: [PATCH] Removed install commands from sh --- entrypoint.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 7f64c30..100415f 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -20,13 +20,11 @@ EOF git config --global user.name "GitHub Action" } -echo "Installing autopep8..." -pip install -q --upgrade pip -pip install -q autopep8 - echo "Running autopep8..." autopep8 -i -r $INPUT_CHECKPATH $INPUT_OPTIONS || echo "Problem running autopep8!" +git status -s + if [-n "$(git status -s)"]; then if $INPUT_DRY; then echo "Found non-compliant files!"