diff --git a/.github/workflows/.build.yaml b/.github/workflows/.build.yaml index accb6098..008648f0 100644 --- a/.github/workflows/.build.yaml +++ b/.github/workflows/.build.yaml @@ -30,6 +30,11 @@ jobs: runner: "ubuntu-latest" steps: + - name: Harden Runner + uses: step-security/harden-runner@0d381219ddf674d61a7572ddd19d7941e271515c # v2.9.0 + with: + egress-policy: audit + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 # TODO: Replace this with custom wolfi image @@ -59,6 +64,11 @@ jobs: needs: build if: always() && (needs.build.result == 'success' || needs.build.result == 'skipped') steps: + - name: Harden Runner + uses: step-security/harden-runner@0d381219ddf674d61a7572ddd19d7941e271515c # v2.9.0 + with: + egress-policy: audit + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 # TODO: Replace this with custom wolfi image