Skip to content

Commit

Permalink
Added GitHub Actions workflow with PSScriptAnalyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
bwRavencl committed Sep 23, 2023
1 parent 82b3198 commit 13f0891
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
on:
push:
branches:
- master

jobs:
psscriptanalyzer:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run PSScriptAnalyzer
uses: microsoft/psscriptanalyzer-action@v1.1
with:
path: configs
recurse: true
- name: Upload SARIF results
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: results.sarif

0 comments on commit 13f0891

Please sign in to comment.