Skip to content

Commit

Permalink
Add a harden-runner task to the lint job as well
Browse files Browse the repository at this point in the history
This task can only provide coverage for the job that contains it.
  • Loading branch information
jsf9k committed Aug 30, 2023
1 parent e49ee95 commit 2bddec4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ jobs:
- diagnostics
runs-on: ubuntu-latest
steps:
- id: harden-runner
name: Harden the runner
uses: step-security/harden-runner@v2
with:
egress-policy: audit
- id: setup-env
uses: cisagov/setup-env-github-action@develop
- uses: actions/checkout@v3
Expand Down

0 comments on commit 2bddec4

Please sign in to comment.