TrimarcJake / Locksmith

A small tool built to find and fix common misconfigurations in Active Directory Certificate Services.
https://github.com/TrimarcJake/Locksmith
Other
823 stars 77 forks source link

Add PSScriptAnalyzer action #99

Closed SamErde closed 8 months ago

SamErde commented 8 months ago

Adds an action that runs PSScriptAnalyzer for any commits or pull requests against the testing branch.

github-advanced-security[bot] commented 8 months ago

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

SamErde commented 8 months ago

Cool. I've tested it in two branches of my fork--but it has actually been a good while since I've tested it with a failed lint check. Note, I specifically configured it for now to only run on the testing branch, but it may also run for branches based on testing.