Removed branching parameter for testing

This commit is contained in:
2020-04-27 17:25:13 +02:00
parent b5eb80d2a9
commit 8d0861a178
2 changed files with 0 additions and 5 deletions

View File

@@ -19,9 +19,6 @@ inputs:
description: Options for the `prettier` command
required: false
default: '--write **/*.js'
branch:
description: Target branch for the changes
required: true
dry:
description: Running the script in dry mode just shows whether there are files that should be prettified or not
required: false

View File

@@ -57,8 +57,6 @@ then
# Calling method to configure the git environemnt
_git_setup
echo "Commiting and pushing changes..."
# Switch to the actual branch
git checkout $INPUT_BRANCH || echo "Problem checking out the specified branch: $INPUT_BRANCH"
# Add changes to git
git add "${INPUT_FILE_PATTERN}" || echo "Problem adding your files with pattern ${INPUT_FILE_PATTERN}"
# Commit and push changes back