Skip to content

Bump step-security/harden-runner from 2.8.0 to 2.9.0 #951

Bump step-security/harden-runner from 2.8.0 to 2.9.0

Bump step-security/harden-runner from 2.8.0 to 2.9.0 #951

Workflow file for this run

name: Audit
on:
pull_request:
paths:
- .github/workflows/audit-dev.yml
- .nsprc
- package-lock.json
push:
branches:
- main
schedule:
- cron: "0 3 * * *"
workflow_dispatch: ~
permissions: read-all
jobs:
npm:
name: npm
runs-on: ubuntu-22.04
steps:
- name: Harden runner
uses: step-security/harden-runner@0d381219ddf674d61a7572ddd19d7941e271515c # v2.9.0
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
actions-results-receiver-production.githubapp.com:443
api.github.com:443
artifactcache.actions.githubusercontent.com:443
ghcr.io:443
github.com:443
gitlab.com:443
nodejs.org:443
objects.githubusercontent.com:443
registry.npmjs.org:443
- name: Checkout repository
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Install Node.js
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
cache: npm
node-version-file: .nvmrc
- name: Install dependencies
run: npm clean-install
- name: Audit all npm dependencies
run: npm run audit