chore: remove redundant safe-directory configuration

This has been resolved in the [checkout](https://github.com/actions/checkout/pull/770) action and would already be set by default.
This commit is contained in:
Tonye Jack 2022-06-14 14:26:16 -04:00 committed by GitHub
parent dda7a419b6
commit d403eb46ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,6 +24,5 @@ fi
cd ${INPUT_DIRECTORY}
remote_repo="${INPUT_GITHUB_URL_PROTOCOL}//${GITHUB_ACTOR}:${INPUT_GITHUB_TOKEN}@${INPUT_GITHUB_URL}/${REPOSITORY}.git"
git config --local --add safe.directory ${INPUT_DIRECTORY}
git push "${remote_repo}" HEAD:${INPUT_BRANCH} --follow-tags $_FORCE_OPTION $_TAGS;