Skip to content

Commit 6049d97

Browse files
committed
ci: harden runner
see: loopbackio/security#26 Signed-off-by: Rifa Achrinza <[email protected]>
1 parent c9532a3 commit 6049d97

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/ci.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ jobs:
1212
runs-on: ubuntu-latest
1313
permissions: {}
1414
steps:
15+
- uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # tag=v2.5.1
16+
with:
17+
disable-sudo: true
18+
egress-policy: block
19+
allowed-endpoints: >
20+
github.com:443
21+
registry.npmjs.org:443
1522
- uses: actions/checkout@v3
1623
- uses: actions/setup-node@v3
1724
with:

0 commit comments

Comments
 (0)