Prior to releasing Linux 4.19-rc4 and Linus Torvalds taking a temporary leave of absence to reflect on his behavior / colorful language, he did apply a Code of Conduct to the Linux kernel…
Source: Phoronix – The Linux Kernel Adopts A Code of Conduct