We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e332b1 commit 291e05bCopy full SHA for 291e05b
.github/workflows/psscriptanalyzer-check.yml
@@ -0,0 +1,25 @@
1
+name: Analyze PowerShell Scripts
2
+
3
+on:
4
+ push:
5
+ paths:
6
+ - '**/*.ps1'
7
+ pull_request:
8
9
10
+ workflow_dispatch:
11
12
+jobs:
13
+ psscriptanalyzer:
14
+ name: PowerShell Code Style Check
15
+ runs-on: ubuntu-latest
16
17
+ steps:
18
+ - name: Checkout Repository
19
+ uses: actions/checkout@v4.2.2
20
21
+ - name: Run PSScriptAnalyzer
22
+ uses: microsoft/psscriptanalyzer-action@v1
23
+ with:
24
+ path: '.'
25
+ recurse: true
0 commit comments