NetboxPS/.github/workflows/pssa.yml
Alexis La Goutte 1c212a0375 PSSA: Add Github Actions for launch PSSA (PowerShell Script Analyzer) when launch PR
Add also vscode/PSScriptAnalyzerSettings.psd1 for Settings for PSSA (can be reuse also for vscode...)
2021-07-07 22:10:50 +02:00

16 lines
No EOL
398 B
YAML

name: CI
on: [pull_request]
jobs:
lint:
name: Run PSSA
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: lint
uses: docker://devblackops/github-action-psscriptanalyzer:2.3.0
with:
settingsPath: .vscode/PSScriptAnalyzerSettings.psd1
sendComment: false
failOnInfos: true
failOnErrors: true
failOnWarnings: true