Skip to content

Commit b24e6fe

Browse files
committed
Update ActionUserCounter.py
1 parent 30726f6 commit b24e6fe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ActionUserCounter.py

+4
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,10 @@ def sanitize(targetDirectory) :
277277
queryDelay = 33
278278

279279
exitCode = 0
280+
281+
# Resolve issue related to user in Docker container vs owner of repository
282+
executeCommand(
283+
["git", "config", "--global", "--add", "safe.directory", "/github/workspace"])
280284

281285
countMap = collectRepoCounts(actionList, failOnError, queryDelay)
282286
if len(targetDirectory) > 0 :

0 commit comments

Comments
 (0)