Skip to content

Commit

Permalink
Have step-security/harden-runner audit the OpenSSF Scorecard update…
Browse files Browse the repository at this point in the history
… workflow (#1076)

When executed on `master` this workflow requires additional permissions;
let's find out what they are.
  • Loading branch information
Stephan202 authored Mar 12, 2024
1 parent 3b005b0 commit df701d3
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/openssf-scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,8 @@ jobs:
- name: Install 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
github.com:443
# XXX: Replace with `block` policy.
egress-policy: audit
- name: Check out code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
Expand Down

0 comments on commit df701d3

Please sign in to comment.