From ea24bfd8ba4b019cb321502a4382a7a44b6ebc01 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Mon, 6 Sep 2021 13:25:55 -0400 Subject: [PATCH] Update entrypoint.sh --- entrypoint.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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;