[25.x][Number Series Copilot] Bug Fixes in Intent Understanding and Field V… #4353
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 | |
jobs: | |
build: | |
name: PSScriptAnalyzer | |
runs-on: ubuntu-latest | |
permissions: | |
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Run PSScriptAnalyzer | |
uses: microsoft/psscriptanalyzer-action@6b2948b1944407914a58661c49941824d149734f # v1.1 | |
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@2c779ab0d087cd7fe7b826087247c2c81f27bfa6 # v3.26.5 | |
with: | |
sarif_file: results.sarif |