mirror of
https://github.com/gaurav-nelson/github-action-markdown-link-check.git
synced 2024-09-11 11:25:47 +03:00
Fixed unsafe repository
This commit is contained in:
parent
58f84fd654
commit
02373ae78d
@ -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}")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user