Skip to content

Commit 6b60f00

Browse files
fix:resolved /github/workspace owned by someone else (#3)
https://github.blog/2022-04-12-git-security-vulnerability-announced/
1 parent df91891 commit 6b60f00

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

entrypoint.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
git clone --quiet https://github.com/$REPO &> /dev/null
44

5+
git config --global --add safe.directory /github/workspace
6+
57
tag=$(git tag --sort version:refname | tail -n 2 | head -n 1)
68

79
if [ "$tag" ]; then

0 commit comments

Comments
 (0)