Skip to content

Commit

Permalink
Mark /github/workspace as safe directory (#12590)
Browse files Browse the repository at this point in the history
* Mark /github/workspace as safe directory

* Cleanup unexpected files
  • Loading branch information
puneetbehl committed Jul 18, 2022
1 parent 93ad518 commit e40a23a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/actions/post-release/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ echo ::set-output name=next_version::${next_version}
echo "Configuring git"
git config --global user.email "$GIT_USER_EMAIL"
git config --global user.name "$GIT_USER_NAME"
git config --global --add safe.directory /github/workspace
git fetch

echo -n "Determining target branch: "
Expand Down
1 change: 1 addition & 0 deletions .github/actions/pre-release/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ fi
echo "Configuring git"
git config --global user.email "$GIT_USER_EMAIL"
git config --global user.name "$GIT_USER_NAME"
git config --global --add safe.directory /github/workspace
git fetch

echo -n "Determining target branch: "
Expand Down

0 comments on commit e40a23a

Please sign in to comment.