Update Harden Runner step in node workflows

This commit is contained in:
Shivam Mathur
2021-12-07 21:26:23 +05:30
parent be75d5e01d
commit cecf84878d
2 changed files with 7 additions and 4 deletions

View File

@@ -26,11 +26,9 @@ jobs:
operating-system: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Harden Runner
if: runner.os == 'Linux'
uses: step-security/harden-runner@main
uses: step-security/harden-runner@v1
with:
allowed-endpoints:
beta.api.stepsecurity.io.:443
codecov.io.:443
github.com.:443
nodejs.org.:443