Skip to content

[24.3] Update app baselines package version. New value: 24.2.20227.28… #4727

[24.3] Update app baselines package version. New value: 24.2.20227.28…

[24.3] Update app baselines package version. New value: 24.2.20227.28… #4727

Workflow file for this run

# https://github.com/microsoft/action-psscriptanalyzer
# For more information on PSScriptAnalyzer in general, see
# https://github.com/PowerShell/PSScriptAnalyzer
name: PSScriptAnalyzer
on:
push:
branches: [ "main", "releases/*" ]
pull_request:
branches: [ "main", "releases/*" ]
permissions:
contents: read
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
jobs:
build:
name: PSScriptAnalyzer
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run PSScriptAnalyzer
uses: microsoft/[email protected]
with:
path: .\
recurse: true
excludeRule: '"PSAvoidUsingInvokeExpression", "PSUseShouldProcessForStateChangingFunctions", "PSAvoidUsingWriteHost", "PSAvoidUsingCmdletAliases", "PSUseSingularNouns", "PSUseApprovedVerbs"'
output: results.sarif
# Upload the SARIF file generated in the previous step
- name: Upload SARIF results file
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: results.sarif