From 6222a1f21cabeb95931cc41d90e8ece8d3398663 Mon Sep 17 00:00:00 2001 From: "stepsecurity-app[bot]" <188008098+stepsecurity-app[bot]@users.noreply.github.com> Date: Tue, 28 Jul 2026 06:27:19 +0000 Subject: [PATCH] [StepSecurity] Apply security best practices Signed-off-by: StepSecurity Bot --- .github/workflows/test.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f52760ca2..84c87f18b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,6 +9,13 @@ jobs: test: runs-on: ubuntu-latest steps: + - name: Harden the runner + uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0 + with: + use-policy-store: true + egress-policy: audit + api-key: ${{ secrets.STEP_SECURITY_API_KEY }} + - uses: actions/checkout@v2 - run: npm ci - run: npm run test