From 3c100ce4601e6e01b08d5cf6fcd3e854cad4c74c Mon Sep 17 00:00:00 2001 From: Guillaume Falourd Date: Thu, 10 Mar 2022 11:02:36 -0300 Subject: [PATCH] update action.yml file Signed-off-by: Guillaume Falourd --- action.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/action.yml b/action.yml index 14eaa63..e3db7d3 100644 --- a/action.yml +++ b/action.yml @@ -67,8 +67,10 @@ runs: echo "Set the ${{ inputs.source_branch }} environment variable or trigger from a branch." exit 1 fi + echo SOURCE_BRANCH $SOURCE_BRANCH DESTINATION_BRANCH="${${{ inputs.destination_branch }}:-"main"}" + echo DESTINATION_BRANCH $DESTINATION_BRANCH # Github actions no longer auto set the username and GITHUB_TOKEN git remote set-url origin "https://$GITHUB_ACTOR:${{ github.token }}@${GITHUB_SERVER_URL#https://}/$GITHUB_REPOSITORY"