Skip to content

Commit

Permalink
Merge pull request #133 from labeneko/fixed-unsafe-repository
Browse files Browse the repository at this point in the history
Fixed unsafe repository
  • Loading branch information
gaurav-nelson committed Apr 20, 2022
2 parents 58f84fd + 02373ae commit 48954f3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,9 @@ fi
if [ "$CHECK_MODIFIED_FILES" = "yes" ]; then

echo -e "${BLUE}BASE_BRANCH: $7${NC}"


git config --global --add safe.directory $(pwd)

git fetch origin "${BASE_BRANCH}" --depth=1 > /dev/null
MASTER_HASH=$(git rev-parse origin/"${BASE_BRANCH}")

Expand Down

0 comments on commit 48954f3

Please sign in to comment.