Skip to content

Commit 9dc773c

Browse files
jsf9kmcdonnnj
authored andcommitted
Add a harden-runner task to the lint job as well
This task can only provide coverage for the job that contains it.
1 parent 9afb516 commit 9dc773c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ jobs:
3434
- diagnostics
3535
runs-on: ubuntu-latest
3636
steps:
37+
- id: harden-runner
38+
name: Harden the runner
39+
uses: step-security/harden-runner@v2
40+
with:
41+
egress-policy: audit
3742
- id: setup-env
3843
uses: cisagov/setup-env-github-action@develop
3944
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)