From f9d3824eb2cf4f35c7c4a1a1908e8c8ae32d466e Mon Sep 17 00:00:00 2001 From: "stepsecurity-app[bot]" <188008098+stepsecurity-app[bot]@users.noreply.github.com> Date: Thu, 5 Mar 2026 16:10:15 +0000 Subject: [PATCH] [StepSecurity] Apply security best practices Signed-off-by: StepSecurity Bot --- .github/workflows/build.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 115ce89..53035d4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,6 +8,9 @@ on: - main - stable/** +permissions: + contents: read + jobs: image: name: ${{ matrix.name }} @@ -40,7 +43,12 @@ jobs: packages: write pull-requests: write steps: - - uses: vexxhost/docker-atmosphere/.github/actions/build-image@main + - name: Harden the runner (Audit all outbound calls) + uses: step-security/harden-runner@a90bcbc6539c36a85cdfeb73f7e2f433735f215b # v2.15.0 + with: + egress-policy: audit + + - uses: vexxhost/docker-atmosphere/.github/actions/build-image@672cf56c8b828e444b6e7906d0ee355c7ec1dea9 # main with: image-name: ${{ matrix.image-name }} build-args: FROM=${{ matrix.from }}