* 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
* Update ClientSecret in the example to not call itself a GUID
If manually crafting or verifying a Service Principal credential JSON object, it is helpful to know that only the `clientId` is formatted as a GUID, and the `clientSecret` is just an alphanumeric string.
* Update README.md
Co-authored-by: Balaga Gayatri <balaga-gayatri@github.com>
* Add critical information if manually creating SP Credential object
If you must manually create the credential JSON (for instance, the Service Principal was created and assigned but the output credential was not saved), finding the `clientId`, `clientSecret`, `subscriptionId` and `tenantId` in azure is possible, but the `resourceManagerEndpointUrl` is also required by this Action and was much harder to track down.
By explaining it is possible and including the value for the public azure cloud (the default use case) it will help others be able to use this Action with existing Service Principal's as well.
* Update README.md
Co-authored-by: Balaga Gayatri <balaga-gayatri@github.com>
Updated Readme.md with App Registration instructions. Without the instructions new user will be lost with the instructions provided as none of the menus/options appear.
The clientSecret is not a GUID, and this being labelled as such caused confusion when I tried to manually add a client secret and was met with a SecretId which was a GUID and a SecretValue which was not a GUID. Using the SecretId GUID from the Azure UI would not work.
Also, resourceManagerEndpointUrl was required but not shown in any examples.
Finally, the value for it was hard to determine, as using several azure cli commands did not display it.
Co-authored-by: Kanika Pasrija <58769601+kanika1894@users.noreply.github.com>
Updates the Azure Gov cloud example to have valid YAML syntax and to increase consistency between examples.
Co-authored-by: Kanika Pasrija <58769601+kanika1894@users.noreply.github.com>