Skip to content

Create PSScriptAnalyzerSettings.psd1 #9

Create PSScriptAnalyzerSettings.psd1

Create PSScriptAnalyzerSettings.psd1 #9

Workflow file for this run

name: Lint Test
on:
push:
workflow_dispatch:
permissions: read-all
jobs:
lint-test:
name: Lint Test
runs-on: ubuntu-latest
# runs-on: windows-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Run PSScriptAnalyzer
uses: james-garriss/github-action-psscriptanalyzer@master
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
settingsPath: ./powershell-psscriptanalyzer.psd1
sendComment: true
failOnErrors: true
failOnWarnings: true
failOnInfos: true