Skip to content

Commit

Permalink
update action.yml file
Browse files Browse the repository at this point in the history
Signed-off-by: Guillaume Falourd <guillaume.falourd@zup.com.br>
  • Loading branch information
GuillaumeFalourd committed Mar 10, 2022
1 parent 10c0dff commit 3c100ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 3c100ce

Please sign in to comment.