Skip to content

Promote from BLAIS5-4571 to main #362

Promote from BLAIS5-4571 to main

Promote from BLAIS5-4571 to main #362

---
name: Run code checker
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
psscriptanalyzer:
name: Run PSScriptAnalyzer
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v3
- name: Run PSScriptAnalyzer command
shell: pwsh
run: |-
Invoke-ScriptAnalyzer -Path .\scripts\ -ExcludeRule PSAvoidUsingPositionalParameters, PSAvoidUsingWriteHost -Recurse