Skip to content

Commit

Permalink
Merge pull request #140 from egibs/harden-runner-action
Browse files Browse the repository at this point in the history
Add harden runner Actions to remaining jobs
  • Loading branch information
k4leung4 authored Aug 2, 2024
2 parents e1daa7b + 2abf7ad commit 3f5abea
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/.build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3f5abea

Please sign in to comment.