Skip to content

Commit

Permalink
Merge pull request #144 from pzaino/develop
Browse files Browse the repository at this point in the history
Added Harden-Runner to scorecards action
  • Loading branch information
pzaino authored Mar 21, 2024
2 parents 7f2e999 + fda09e8 commit ff216c7
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,22 @@ jobs:
with:
persist-credentials: false

- name: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
api.github.com:443
api.osv.dev:443
api.securityscorecards.dev:443
bestpractices.coreinfrastructure.org:443
fulcio.sigstore.dev:443
github.com:443
rekor.sigstore.dev:443
sigstore-tuf-root.storage.googleapis.com:443
www.bestpractices.dev:443
- name: "Run analysis"
uses: ossf/scorecard-action@99c53751e09b9529366343771cc321ec74e9bd3d # v2.0.6
with:
Expand Down

0 comments on commit ff216c7

Please sign in to comment.