@@ -21,10 +21,15 @@ jobs:
2121 - name : Harden Runner
2222 uses : step-security/harden-runner@8d3c67de8e2fe68ef647c8db1e6a09f647780f40 # v2.19.0
2323 with :
24- egress-policy : audit
24+ egress-policy : block
25+ allowed-endpoints : >
26+ github.com:443
27+ registry.npmjs.org:443
2528
2629 - name : Checkout code
2730 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
31+ with :
32+ persist-credentials : false
2833
2934 - name : Setup Node.js
3035 uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
@@ -49,10 +54,21 @@ jobs:
4954 - name : Harden Runner
5055 uses : step-security/harden-runner@8d3c67de8e2fe68ef647c8db1e6a09f647780f40 # v2.19.0
5156 with :
52- egress-policy : audit
57+ egress-policy : block
58+ allowed-endpoints : >
59+ cli.codecov.io:443
60+ github.com:443
61+ ingest.codecov.io:443
62+ keybase.io:443
63+ o26192.ingest.us.sentry.io:443
64+ raw.githubusercontent.com:443
65+ registry.npmjs.org:443
66+ storage.googleapis.com:443
5367
5468 - name : Checkout code
5569 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
70+ with :
71+ persist-credentials : false
5672
5773 - name : Setup Node.js
5874 uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
@@ -87,10 +103,25 @@ jobs:
87103 - name : Harden Runner
88104 uses : step-security/harden-runner@8d3c67de8e2fe68ef647c8db1e6a09f647780f40 # v2.19.0
89105 with :
90- egress-policy : audit
106+ egress-policy : block
107+ allowed-endpoints : >
108+ *.archive.ubuntu.com:80
109+ *.microsoft.com:443
110+ api.github.com:443
111+ cdn.playwright.dev:443
112+ dl.google.com:443
113+ esm.ubuntu.com:443
114+ fonts.googleapis.com:443
115+ fonts.gstatic.com:443
116+ github.com:443
117+ raw.githubusercontent.com:443
118+ registry.npmjs.org:443
119+ storage.googleapis.com:443
91120
92121 - name : Checkout code
93122 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
123+ with :
124+ persist-credentials : false
94125
95126 - name : Setup Node.js
96127 uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
@@ -104,6 +135,7 @@ jobs:
104135 - name : Checkout Node.js source
105136 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
106137 with :
138+ persist-credentials : false
107139 repository : nodejs/node
108140 sparse-checkout : doc/api/assert.md
109141 path : node
0 commit comments