Skip to content

Use Invoke-Az to suppress python warnings #395

Use Invoke-Az to suppress python warnings

Use Invoke-Az to suppress python warnings #395

Workflow file for this run

name: Analyze PowerShell
on: push
permissions:
security-events: write # Required to upload SARIF results
jobs:
analyze-powershell-script:
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v4
- name: Run PSScriptAnalyzer
uses: microsoft/psscriptanalyzer-action@main
with:
path: .\
recurse: true
output: results.sarif
- name: Upload PowerShell SARIF file
uses: github/codeql-action/upload-sarif@v3
with:
# Path to SARIF file relative to the root of the repository
sarif_file: results.sarif
# Optional category for the results
# Used to differentiate multiple results for one commit
category: PSScriptAnalyzer