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 13, 2022
1 parent 347cd15 commit 7d398f6
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 @@ -29,6 +29,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 7d398f6

Please sign in to comment.