Skip to content

Commit

Permalink
Update deploy_dev_env.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
alalvi00 authored Mar 22, 2024
1 parent 70f1e97 commit 418877d
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/deploy_dev_env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,25 +27,6 @@ jobs:
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Validate Signature
shell: powershell
run: |
$signatureStatuses = Get-ChildItem -r -i *.ps* | Get-AuthenticodeSignature
Foreach ($signatureStatus in $signatureStatuses) {
If ($signatureStatus.Status -eq 'HashMismatch') {
throw "File '$($signatureStatus.Path)' has a hash status of '$($signatureStatus.status)'"
}
ElseIf ($signatureStatus.Status -eq 'NotSigned') {
Write-Warning "File '$($signatureStatus.Path)' has a hash status of '$($signatureStatus.status)'"
}
ElseIf ($signatureStatus.Status -eq 'Valid') {
Write-Host "File '$($signatureStatus.Path)' has a hash status of '$($signatureStatus.status)'"
}
Else {
throw "File '$($signatureStatus.Path)' has an unhandled hash status of '$($signatureStatus.status)'"
}
}
- name: Test Module Imports
shell: powershell
run: |
Expand Down

0 comments on commit 418877d

Please sign in to comment.