Skip to content

Commit

Permalink
Merge pull request #20 from poshul/patch-1
Browse files Browse the repository at this point in the history
Update entrypoint.sh
  • Loading branch information
traversaro authored Jan 26, 2024
2 parents ec454f3 + b6bbf00 commit b79570b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ if [[ "$INPUT_ALLOW_FF" == "true" ]]; then
if [[ "$INPUT_FF_ONLY" == "true" ]]; then
FF_MODE="--ff-only"
fi
else
if [[ "$INPUT_FF_ONLY" == "true" ]]; then
echo "ff_only specified, but allow_ff isn't please update the options to make them consistent"
exit 1
fi

git config --global --add safe.directory "$GITHUB_WORKSPACE"
Expand Down

0 comments on commit b79570b

Please sign in to comment.