Skip to content

Commit be12686

Browse files
committed
fixup
1 parent f4f3053 commit be12686

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

utils/kernel-upgrade.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,14 @@ LINUX_BRANCH="kkit-linux-6.12.y"
2323
UPSTREAM_REMOTE="upstream"
2424
UPSTREAM_URL="https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
2525
KKIT_REMOTE="origin"
26-
KKIT_URL="[email protected]:kernelkit/linux.git"
26+
27+
# Detect if running in CI (GitHub Actions sets CI=true)
28+
if [ "${CI:-false}" = "true" ]; then
29+
KKIT_URL="https://github.com/kernelkit/linux.git"
30+
else
31+
KKIT_URL="[email protected]:kernelkit/linux.git"
32+
fi
33+
2734
KERNEL_VERSION_PATTERN="6.12"
2835

2936
# Colors for output

0 commit comments

Comments
 (0)