Skip to content

Commit f9d3824

Browse files
[StepSecurity] Apply security best practices
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
1 parent 0ab6e9b commit f9d3824

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

‎.github/workflows/build.yml‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
- main
99
- stable/**
1010

11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
image:
1316
name: ${{ matrix.name }}
@@ -40,7 +43,12 @@ jobs:
4043
packages: write
4144
pull-requests: write
4245
steps:
43-
- uses: vexxhost/docker-atmosphere/.github/actions/build-image@main
46+
- name: Harden the runner (Audit all outbound calls)
47+
uses: step-security/harden-runner@a90bcbc6539c36a85cdfeb73f7e2f433735f215b # v2.15.0
48+
with:
49+
egress-policy: audit
50+
51+
- uses: vexxhost/docker-atmosphere/.github/actions/build-image@672cf56c8b828e444b6e7906d0ee355c7ec1dea9 # main
4452
with:
4553
image-name: ${{ matrix.image-name }}
4654
build-args: FROM=${{ matrix.from }}

0 commit comments

Comments
 (0)