For standard run the following as root:
zypper addrepo https://download.opensuse.org/repositories/Kernel:HEAD/standard/Kernel:HEAD.repo
zypper refresh
zypper install kernel-source
For S390 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/Kernel:HEAD/S390/Kernel:HEAD.repo
zypper refresh
zypper install kernel-source
For RISCV run the following as root:
zypper addrepo https://download.opensuse.org/repositories/Kernel:HEAD/RISCV/Kernel:HEAD.repo
zypper refresh
zypper install kernel-source
For PPC run the following as root:
zypper addrepo https://download.opensuse.org/repositories/Kernel:HEAD/PPC/Kernel:HEAD.repo
zypper refresh
zypper install kernel-source
For LEGACYX86 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/Kernel:HEAD/LEGACYX86/Kernel:HEAD.repo
zypper refresh
zypper install kernel-source
For ARM run the following as root:
zypper addrepo https://download.opensuse.org/repositories/Kernel:HEAD/ARM/Kernel:HEAD.repo
zypper refresh
zypper install kernel-source