Update the CodeQL init action from github/codeql-action/init@v1 to the latest v2 release more information is in this [release notes](https://github.blog/changelog/2023-01-18-code-scanning-codeql-action-v1-is-now-deprecated/)