Simplify codeql github action (#44124)
Simplify codeql github action (#44124)

The current action is failing with an error that recommends removing the
`git checkout HEAD^2` step.
kpreisser/TypeScript,SaschaNaz/TypeScript,Microsoft/TypeScript,SaschaNaz/TypeScript,kitsonk/TypeScript,weswigham/TypeScript,SaschaNaz/TypeScript,Microsoft/TypeScript,kpreisser/TypeScript,SaschaNaz/TypeScript,weswigham/TypeScript,kitsonk/TypeScript,kpreisser/TypeScript,microsoft/TypeScript,microsoft/TypeScript,microsoft/TypeScript,kitsonk/TypeScript,weswigham/TypeScript,Microsoft/TypeScript