Skip to content

Security

Security #458

Workflow file for this run

name: Security
on:
schedule:
- cron: 0 9 * * 1
push:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
audit:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v7
- uses: pnpm/action-setup@v6.0.9
- uses: actions/setup-node@v7
with:
node-version: 20
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run dependency audit
run: pnpm audit --audit-level=high
- name: Print full audit report
if: always()
# || true is intentional - prints the full report without failing the job
# The audit-level=high step above is the actual gate
run: pnpm audit --json || true