Skip to content

Commit

Permalink
fix: set recommended policy for cd gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
inigomarquinez committed Jan 31, 2024
1 parent 560772d commit 18565dd
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,12 @@ jobs:
uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 # v2.6.1
with:
disable-sudo: true
egress-policy: audit
# egress-policy: block
# allowed-endpoints: >
# github.com:443
# registry.npmjs.org:443
# api.github.com:443
# nodejs.org:443
# fulcio.sigstore.dev:443
egress-policy: block
allowed-endpoints: >
fulcio.sigstore.dev:443
github.com:443
registry.npmjs.org:443
rekor.sigstore.dev:443
- name: ⚙️ Git Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
Expand Down

0 comments on commit 18565dd

Please sign in to comment.