Skip to content

Commit

Permalink
test: update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
DrIOSX committed Jun 8, 2024
1 parent c842ae9 commit 0569fd9
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions .github/workflows/powershell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,25 +36,11 @@ jobs:
with:
# Check https://github.com/microsoft/action-psscriptanalyzer for more info about the options.
# The below set up runs PSScriptAnalyzer to your entire repository and runs some basic security rules.
path: |
.\source\Classes
.\source\helper
.\source\Private
.\source\Public
.\source\tests
path: .\source
recurse: true
# Include your own basic security rules. Removing this option will run all the rules
includeRule: |
"PSAvoidGlobalAliases",
"PSAvoidUsingConvertToSecureStringWithPlainText",
"PSAvoidUsingPlainTextForPassword",
"PSAvoidUsingInvokeExpression",
"PSUseApprovedVerbs",
"PSAvoidUsingPositionalParameters",
"PSAvoidUsingEmptyCatchBlock",
"PSAvoidUsingDeprecatedManifestFields",
"PSAvoidUsingUserNameAndPasswordParams",
"PSAvoidUsingCmdletAliases"
includeRule: '"PSAvoidGlobalAliases", "PSAvoidUsingConvertToSecureStringWithPlainText", "PSAvoidUsingPlainTextForPassword", "PSAvoidUsingInvokeExpression", "PSUseApprovedVerbs", "PSAvoidUsingPositionalParameters", "PSAvoidUsingEmptyCatchBlock", "PSAvoidUsingDeprecatedManifestFields", "PSAvoidUsingUserNameAndPasswordParams", "PSAvoidUsingCmdletAliases"'

output: results.sarif

# Upload the SARIF file generated in the previous step
Expand Down

0 comments on commit 0569fd9

Please sign in to comment.