[actions] add step security runner
This commit is contained in:
committed by
Jordan Harband
parent
81fc05684d
commit
6cc90a4b8d
6
.github/workflows/toc.yml
vendored
6
.github/workflows/toc.yml
vendored
@@ -11,6 +11,12 @@ jobs:
|
||||
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
|
||||
with:
|
||||
# https://github.com/actions/checkout/issues/217#issue-599945005
|
||||
|
||||
Reference in New Issue
Block a user