fix: Add missing private dns zones to applicable policy assignment and module #722
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pre-Release Tests | |
on: | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: {} | |
permissions: | |
contents: read | |
jobs: | |
release-tests: | |
name: Pre-Release Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2 | |
with: | |
egress-policy: audit | |
- name: Checkout Repo | |
id: checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
fetch-depth: 0 | |
- name: Pester Tests | |
id: pester | |
if: startsWith(github.head_ref, 'release') | |
uses: azure/powershell@53dd145408794f7e80f97cfcca04155c85234709 # v2.0.0 | |
with: | |
inlineScript: | | |
Import-Module Pester -Force | |
$pesterConfiguration = @{ | |
Run = @{ | |
Container = New-PesterContainer -Path "./.github/pester/release.tests.ps1" | |
PassThru = $true | |
} | |
Output = @{ | |
Verbosity = 'Detailed' | |
} | |
} | |
$result = Invoke-Pester -Configuration $pesterConfiguration | |
exit $result.FailedCount | |
azPSVersion: "latest" | |