diff --git a/entrypoint.sh b/entrypoint.sh index 72129cc..87cc656 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -2,7 +2,7 @@ set -e -git remote set-url origin "https://${INPUT_TOKEN}@github.com/${GITHUB_REPOSITORY}" +git remote add temp_verify_changed_files "https://${INPUT_TOKEN}@github.com/${GITHUB_REPOSITORY}" CHANGED_FILES=() @@ -31,4 +31,6 @@ else echo "::set-output name=changed_files::${CHANGED_FILES}" fi +git remote remove temp_verify_changed_files + exit 0;