From 7fec5eda4ad50b86c33afb938139bff8997d446d Mon Sep 17 00:00:00 2001 From: Stefan Zweifel Date: Fri, 20 Sep 2019 10:46:35 +0200 Subject: [PATCH] Cleanup --- actions.yml | 9 ++++----- entrypoint.sh | 6 +----- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/actions.yml b/actions.yml index ca95851..2afa7bd 100644 --- a/actions.yml +++ b/actions.yml @@ -5,17 +5,16 @@ author: Stefan Zweifel inputs: commit_message: - description: 'Commit message' + description: Commit message required: true commit_author_name: - description: 'Name of the commit author' + description: Name of the commit author required: true commit_author_email: - description: 'Email address of the commit author' + description: Email address of the commit author required: true - ref: - description: Branch to use + description: Branch where changes should be pushed too required: true runs: diff --git a/entrypoint.sh b/entrypoint.sh index e653976..2c7d76d 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -25,11 +25,7 @@ if ! git diff --quiet then git_setup - : ${PUSH_BRANCH:=`echo "$GITHUB_HEAD_REF" | awk -F / '{ print $3 }' `} - - echo "Push Branch Value: $PUSH_BRANCH"; - - echo "Input Ref: $INPUT_REF"; + echo "INPUT_REF value: $INPUT_REF"; # Switch to branch from current Workflow run git checkout $INPUT_REF