From 4a13f79b7656a30776df4a512f3e315690fa0c49 Mon Sep 17 00:00:00 2001 From: StepSecurity Bot Date: Wed, 20 Dec 2023 00:04:27 +0000 Subject: [PATCH] [StepSecurity] ci: Harden GitHub Actions Signed-off-by: StepSecurity Bot --- .github/workflows/lint.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index b906fac2..8b4f5474 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,6 +13,11 @@ jobs: format_code: runs-on: ubuntu-latest steps: + - name: Harden Runner + uses: step-security/harden-runner@v2 + with: + egress-policy: audit + - uses: actions/checkout@v4 - name: Install clang-format