Skip to content

Commit d826548

Browse files
committed
Update Workflows
1 parent b782d61 commit d826548

2 files changed

Lines changed: 27 additions & 25 deletions

File tree

.github/workflows/lint.yaml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -68,31 +68,6 @@ jobs:
6868
with:
6969
shellcheck_opts: -e SC2129
7070

71-
pwsh:
72-
name: "PowerShell Lint"
73-
if: ${{ !contains(github.event.head_commit.message, '#nolint') }}
74-
runs-on: windows-latest
75-
timeout-minutes: 5
76-
77-
permissions:
78-
contents: read
79-
pull-requests: read
80-
checks: write
81-
82-
steps:
83-
- name: "Checkout"
84-
uses: actions/checkout@v6
85-
86-
- name: "Invoke ScriptAnalyzer"
87-
if: ${{ !cancelled() }}
88-
run: |
89-
$results = Invoke-ScriptAnalyzer -Path scripts -Recurse
90-
#$errors = $results | Where-Object Severity -eq 'Error'
91-
if ($results) {
92-
$results
93-
exit 1
94-
}
95-
9671
golint:
9772
name: "GoLint - ${{ matrix.os }}"
9873
if: ${{ !contains(github.event.head_commit.message, '#nolint') }}
@@ -122,3 +97,28 @@ jobs:
12297
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0
12398
with:
12499
version: latest
100+
101+
pwsh:
102+
name: "PowerShell Lint"
103+
if: ${{ !contains(github.event.head_commit.message, '#nolint') }}
104+
runs-on: windows-latest
105+
timeout-minutes: 5
106+
107+
permissions:
108+
contents: read
109+
pull-requests: read
110+
checks: write
111+
112+
steps:
113+
- name: "Checkout"
114+
uses: actions/checkout@v6
115+
116+
- name: "Invoke ScriptAnalyzer"
117+
if: ${{ !cancelled() }}
118+
run: |
119+
$results = Invoke-ScriptAnalyzer -Path scripts -Recurse
120+
#$errors = $results | Where-Object Severity -eq 'Error'
121+
if ($results) {
122+
$results
123+
exit 1
124+
}

.github/workflows/release.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,8 @@ jobs:
225225
uses: ./.github/workflows/vhs.yaml
226226
needs: [release]
227227
secrets: inherit
228+
with:
229+
publish: true
228230

229231
permissions:
230232
contents: read

0 commit comments

Comments
 (0)