diff --git a/.github/workflows/ci-test.yml b/.github/workflows/ci-test.yml index 0a48b30fb..653cf6b6c 100644 --- a/.github/workflows/ci-test.yml +++ b/.github/workflows/ci-test.yml @@ -7,6 +7,9 @@ on: pull_request: branches: [ main ] +permissions: + contents: read + jobs: ci: name: pester @@ -18,6 +21,11 @@ jobs: DOTNET_NOLOGO: true DOTNET_GENERATE_ASPNET_CERTIFICATE: false steps: + - name: Harden the runner (Audit all outbound calls) + uses: step-security/harden-runner@05e31511f85b41b11d1cf0ef85d0992719546e2c # v2.21.0 + with: + egress-policy: audit + - name: Checkout repository uses: actions/checkout@v4