Cleanup
This commit is contained in:
parent
6c17ba31a9
commit
7fec5eda4a
@ -5,17 +5,16 @@ author: Stefan Zweifel <hello@stefanzweifel.io>
|
|||||||
|
|
||||||
inputs:
|
inputs:
|
||||||
commit_message:
|
commit_message:
|
||||||
description: 'Commit message'
|
description: Commit message
|
||||||
required: true
|
required: true
|
||||||
commit_author_name:
|
commit_author_name:
|
||||||
description: 'Name of the commit author'
|
description: Name of the commit author
|
||||||
required: true
|
required: true
|
||||||
commit_author_email:
|
commit_author_email:
|
||||||
description: 'Email address of the commit author'
|
description: Email address of the commit author
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
ref:
|
ref:
|
||||||
description: Branch to use
|
description: Branch where changes should be pushed too
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
|
@ -25,11 +25,7 @@ if ! git diff --quiet
|
|||||||
then
|
then
|
||||||
git_setup
|
git_setup
|
||||||
|
|
||||||
: ${PUSH_BRANCH:=`echo "$GITHUB_HEAD_REF" | awk -F / '{ print $3 }' `}
|
echo "INPUT_REF value: $INPUT_REF";
|
||||||
|
|
||||||
echo "Push Branch Value: $PUSH_BRANCH";
|
|
||||||
|
|
||||||
echo "Input Ref: $INPUT_REF";
|
|
||||||
|
|
||||||
# Switch to branch from current Workflow run
|
# Switch to branch from current Workflow run
|
||||||
git checkout $INPUT_REF
|
git checkout $INPUT_REF
|
||||||
|
Loading…
Reference in New Issue
Block a user