Skip to content

Commit bd7b138

Browse files
authored
chore(docs): attempt to fix github "detected dubious ownership" error
1 parent 7bac7a5 commit bd7b138

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/actions/docs/entrypoint.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ set -e
44

55
apt-get update
66
apt-get install -y git wget
7+
8+
# Fix github "detected dubious ownership" error
9+
git config --global --add safe.directory /github/workspace
10+
711
git reset --hard HEAD
812

913
# Create the directories

0 commit comments

Comments
 (0)