Add allowed endpoints to node workflow

This commit is contained in:
Shivam Mathur 2021-11-10 08:36:00 +05:30
parent f7b503e36b
commit 341cf69e13
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A

View File

@ -28,6 +28,16 @@ jobs:
- name: Harden Runner - name: Harden Runner
if: runner.os == 'Linux' if: runner.os == 'Linux'
uses: step-security/harden-runner@main uses: step-security/harden-runner@main
with:
allowed-endpoints:
beta.api.stepsecurity.io.:443
codecov.io.:443
github.com.:443
nodejs.org.:443
raw.githubusercontent.com.:443
registry.npmjs.org.:443
setup-php.com.:443
storage.googleapis.com.:443
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2