Skip to content

Commit

Permalink
Merge pull request #21 from powerhome/git-safe-directory
Browse files Browse the repository at this point in the history
Set github workspace as safe in git
  • Loading branch information
cadwallion authored Mar 9, 2023
2 parents 141e4a3 + 5225e84 commit 94a6f4c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ EOF
chmod 0600 ~/.gem/credentials
set -x

git config --global --add safe.directory "$(pwd)"

work_directory="${WORKDIR:-.}"
cd $work_directory

Expand Down

0 comments on commit 94a6f4c

Please sign in to comment.