Skip to content

Commit 5987a51

Browse files
committed
github: fix git remote url
Fixes error: Run set -euxo pipefail + [[ -d .git ]] + git clean -ffdx + git reset --hard HEAD HEAD is now at 0441781 devconfig: add a default for kdevops_enable_terraform + git remote set-url origin https://github.com/linux-kdevops/kdevops + git fetch --depth=1 origin main fatal: could not read Username for 'https://github.com': No such device or address Signed-off-by: Daniel Gomez <[email protected]>
1 parent afd6c03 commit 5987a51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/kdevops.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,12 +195,12 @@ jobs:
195195
--reference /mirror/kdevops.git \
196196
--depth=1 \
197197
--branch ${{ github.ref_name }} \
198-
$GITHUB_SERVER_URL/$GITHUB_REPOSITORY .
198+
$GITHUB_SERVER_URL/$GITHUB_REPOSITORY.git .
199199
else
200200
git clone --verbose --progress \
201201
--depth=1 \
202202
--branch ${{ github.ref_name }} \
203-
$GITHUB_SERVER_URL/$GITHUB_REPOSITORY .
203+
$GITHUB_SERVER_URL/$GITHUB_REPOSITORY.git .
204204
fi
205205
fi
206206

0 commit comments

Comments
 (0)