Skip to content

chore(deps): bump the github-actions group with 12 updates #71

chore(deps): bump the github-actions group with 12 updates

chore(deps): bump the github-actions group with 12 updates #71

Workflow file for this run

name: npm audit
on:
pull_request:
push:
branches:
- main
- "releases/*"
# schedule:
# - cron: '0 10 * * *'
jobs:
scan:
name: npm audit
runs-on: ubuntu-latest
concurrency:
group: npm-audit-${{ github.ref }}
cancel-in-progress: false
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
with:
egress-policy: audit
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Cache node modules
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
with:
path: ./node_modules
key: ${{ runner.os }}-.-node-modules-${{ hashFiles('./package-lock.json') }}
restore-keys: |
${{ runner.os }}-.-node-modules-
- name: install dependencies
run: npm install
- uses: oke-py/npm-audit-action@6ec7878c81d7dfe2b3295a63e1a608e9c952f46a # v3.0.0
with:
audit_level: high
github_token: ${{ secrets.GITHUB_TOKEN }}
issue_assignees: nick2bad4u
issue_labels: vulnerability
dedupe_issues: true
working_directory: .