NetboxPS/.github/workflows/pssa.yml
Alexis La Goutte fcbb25c088
PSSA: Add Github Actions for launch PSSA (PowerShell Script Analyzer) when launch PR (#11)
Add also vscode/PSScriptAnalyzerSettings.psd1 for Settings for PSSA (can be reuse also for vscode...)
2021-07-22 09:23:15 -04: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