Skip to content

Commit d18c27b

Browse files
GHAIAC-94: Setting github workspace as safe directory
For more details - actions/checkout#766
1 parent 05f6a53 commit d18c27b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

entrypoint.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ SCANFOLDER=$1
44
SOURCE_UUID="8c0ac08e-60ad-4a8a-9571-a2c56514b61a"
55
SCANID_STR="Scan launched successfully. Scan ID: "
66

7+
git config --global --add safe.directory "$GITHUB_WORKSPACE"
8+
79
echo "Action triggered by $GITHUB_EVENT_NAME event"
810

911
if [ $GITHUB_EVENT_NAME = "push" ] || [ $GITHUB_EVENT_NAME = "pull_request" ]

0 commit comments

Comments
 (0)