mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-23 04:11:06 +07:00
Add action to harden runner in node workflow
This commit is contained in:
parent
beaceb0089
commit
f7b503e36b
4
.github/workflows/node-workflow.yml
vendored
4
.github/workflows/node-workflow.yml
vendored
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user