[actions] add step security runner

This commit is contained in:
Varun Sharma
2021-11-22 07:20:50 -08:00
committed by Jordan Harband
parent 81fc05684d
commit 6cc90a4b8d
7 changed files with 78 additions and 0 deletions

View File

@@ -8,6 +8,12 @@ jobs:
contents: read
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@v1
with:
allowed-endpoints:
github.com:443
registry.npmjs.org:443
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with: