* Consistently use azure/powershell@v1
* Consistently use actions/checkout@v4
* Consistently use actions/setup-node@v4
* Consistently use actions/github-script@v7
* Consistently use actions/stale@v8
* Specify codql language as javascript
See https://api.github.com/repos/github/codeql-action/issues/comments/762138640
* Name ci.yml
* CodeQL does not need a special code
* support MI for CLI
* support MI for PowerShell
* refactor and fix typo
* adjust logic according to review comments
* create a type for PS Script output and add some test cases
* rename servicePrincipalKey to servicePrincipalSecret