Add action to harden runner in node workflow

This commit is contained in:
Shivam Mathur 2021-11-10 06:17:07 +05:30
parent beaceb0089
commit f7b503e36b
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A

View File

@ -25,6 +25,10 @@ jobs:
matrix:
operating-system: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Harden Runner
if: runner.os == 'Linux'
uses: step-security/harden-runner@main
- name: Checkout
uses: actions/checkout@v2