3
0
Fork 0
mirror of https://github.com/tj-actions/changed-files synced 2024-12-17 23:44:46 +00:00

Update entrypoint.sh (#277)

This commit is contained in:
Tonye Jack 2021-12-04 16:14:27 -05:00 committed by GitHub
parent f2bbfc138b
commit 922308f3c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,7 +24,7 @@ git ls-remote --exit-code temp_changed_files 1>/dev/null 2>&1 && exit_status=$?
if [[ $exit_status -ne 0 ]]; then if [[ $exit_status -ne 0 ]]; then
echo "No 'temp_changed_files' remote found" echo "No 'temp_changed_files' remote found"
echo "Creating 'temp_changed_files' remote..." echo "Creating 'temp_changed_files' remote..."
git remote remove temp_changed_files 1>/dev/null || true git remote remove temp_changed_files 2>/dev/null || true
git remote add temp_changed_files "https://${INPUT_TOKEN}@${SERVER_URL}/${GITHUB_REPOSITORY}" git remote add temp_changed_files "https://${INPUT_TOKEN}@${SERVER_URL}/${GITHUB_REPOSITORY}"
else else
echo "Found 'temp_changed_files' remote" echo "Found 'temp_changed_files' remote"