When removed from codeql it breaks the security code scanning results and gets stuck without giving results. Need to look into ways around that.